The combination method: a numerical technique for electrocardiographic calculations