fix deprecation warning in simple linear interpolation

Using floats as a shape argument to np.zeros or other numpy functions prints a deprecation warning ("using a non-integer number instead of an integer will result in an error in the future") as of numpy 1.8.