convert data to more usable format, start using scikit for logistic