made m parameter of powermod functions more obviously optional (default value is now None instead of zero).