Corrected pure sh fod computation (wigned matrix was incorrect).