compiled  function for permutation multiplication

compiled ``_af_rmul`` is up to 2x faster