Added problem scaling to the minimisation for stability and convergence