add comments to MMFuncHelper.hpp