Total Head Calculation