Passed the dose interpolation method to calcDose function