Method of conditioning a system of equations into a form that is more suitable for numerical solving methods