LeastSquares improvements, but work in progress..