Incorporation of gantry angle correction for 3D dose prediction in intensity-modulated radiation therapy