made getFPS fcn
kmeans implemented(testing)