calculate ecg balance points