Fixed NANs in normal estimation