Pricing Parisian and ParAsian Options by a Vectorized Binomial or Trinomial Tree | Synapse