Factors influencing the T wave of the electrocardiogram