fixed some faults in blurring algorithms. All test pass now