Minimising a quadratic, part 1 of 4 · QuantMax