Added mod to EM

Would have a special case for divider 0 like we have for division.