Python: realizing multivariate, generic(k)  k mean classification algorithm, using numpys linear algebra