Text this: Computational optimal control of the terminal bunt manoeuvre