| downsample_matrix | Downsample the columns of a matrix to a target number |
| simulate_data | Simulate normal data for kmeans tests |
| tglkmeans.set_parallel | Set parallel threads |
| TGL_kmeans | kmeans++ with return value similar to R kmeans |
| TGL_kmeans_tidy | TGL kmeans with 'tidy' output |