Linear Least Squares Demo Code