Implemented KMeans N-gram feature model (with normalised histogram)