Fixed correctness issue. Add parameter for initializing center points

Fixed the correctness problems of kmeans. Add a parameter to specify initial center points instead of generating them randomly. This feature is necessary for spectural clustering application.

@MaggieQi Please have a look at.