Fix padding dimensions in imfilter_LoG (fixes #214)

Cc: @rsrock

Ron, please do make sure you agree with this.