Add MAnorm to R funs