Assignment 3 Linear Regression Solution