Added horizontal_kmeans.
Added horizontal flat  (not correct though). Standard kmeans fixed.