Added check to castep geom optimiser to make sure the run completed successfully.  Added random seed to ssearch so structures are always different.