Added temperart code to complete the intput step required by kmeans.