Don't return inertia as it's modified as input pointer
Add ifdef guard to openmp pragmas
Add n_threads parameter to kcenters to control number of OpenMP threads in distance calculation.