K-means for joint Longitudinal data