Fixed computation of normresidual in HOOI