Logistic Regression added. Bug fixing in LinearRegression