Added simple linear regression function