Modelling Critical and Catastrophic Phenomena in Geoscience