Save after each optimisation, especially handy for high dimensions