added default option to mmm to omit NaN