fixed gaussian filter, was not zeroing output array before incrementing value