boxblur function

Blur image with a box filter (square window)