Implemented LWR and minor changes to Linear Regression