Fixed some bugs in kmeans, start using Vagrant