removed error from regression function (linearly dependency). Linear regression still giving trouble due to remaining linear dependency - remove this in future