Total Hessian in Least Squares Optimization of Lens Design