Added support for PrototypeDTW in ClusterKMeans.
Added a util method for normalizing user raw ink structure.
replace .keys() and .items() with iterators.