Finished boxBlur functionality