Bug fix in TotalRotationFunction metric.

Replaced the metric x2 + x2 with x2 + y2 as it should be.

This actually has no effect on results (checked for 6 runs of different thickness)
because this minimiser is badly configured... it always prefers 0 0 0. Will try to
fix that now.