Source: https://www.gyyv.vd.ch/wp-content/data/maths/ECG.pdf