What is catastrophe theory in physics