Use 'sum(!is.nan(matrix)) == 0' to check if tapkee returned NaNs

Think how to handle other types of 'tapkee' output files

