fix a round off problem

fix a round off problem in ndimage.interpolation.zoom so that the function calculates the output shape correctly.