package LeastSquares