Fixed bug with num_cols_indices being sample length instead of the # of peaks