Optimized Gaussian blur code
Optimized r1Prev, r2Prev by recalculating from pyramidBuffer instead