fixes averageblur bad idx shift and divide

wasn't always summing to 1, now it is