Major improvements to castep geom optimiser.