Modelling Cardiac Arrhythmogenesis and Defibrillation