Chaos Theory and complex systems, phase transitions and tipping points