Computational modelling of electrocardiograms: repolarisation and T-wave polarity in the human heart