Calculate WHR

Calculate WHR.