iteration on least squares
Merge pull request #10 from mohit1007/master

 iteration on least squares