Adding OED calculation and fixing extrapolation problem with doseInterpolate.