Corrected H calculation