fix minor bug in convolve3x3 - check y coordinate against height, not width of image