Issue with skimage.transform.warp - 'numpy.float64' object cannot be interpreted as an index