[Handle other types of 'tapkee' output files]

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