Added k-means and fixed some encoding bugs