ECG wave computer simulation