Changed the interpolation so that no NAN interpolation is attempted when there are no NAN values in an array.