WIP, lots more documentation for Trail, and improve the API a bit more

  - add some parallel functions which were missing
  - generalize the type of onTrail
  - better names that don't involve primes