Split off mtimes from braid.m.  Implement direction convention GenRotDir.