mod - better modulo that gives positive numbers always