A calculator for doing the maths