added functionality to kmeans.py

to support fuzzy clustering (currently moves centers to the average of
all the points)
also supports new initialization type