A photon source model based on particle transport in a parameterized accelerator structure for Monte Carlo dose calculations. Issue 7 (3rd June 2018)