Studies of the electrical field of the heart. I. Invariants of the electrocardiogram