fixed rounding error in createResamplingKernels() (resolves #137)