added linear and logistic regressions; added some strange things for kmeans