Title: A new approach to photon dose calculations in radiotherapy treatment planning