Fixed bug on param geom optimise which result in wrong number of optimisation iterations being written to the .geomopt file.
Fixed bug with external optimiser which wasn't saving the energy, pressure, etc to the optimised structure.