Moved calculation where it is needed. In the first place, it was only calculated for the case xios_interpolation=n but it is used for both cases. See ticket #472