walk-downhill now slightly more intelligent, changes whichever variable has the most impact on the total energy.
Notes on magic numbers.
Define colinearity constraint.