Make ARRAY[...] expression work in MADmark

Changed MADmark source code so that kmeans accepts array[...] expression
correctly