leastSquares.m - test