Fix Segfault errors

blur.c was allocating large variable length arrays. GCC places these arrays on the stack, and they were overflowing the stack. By moving these arrays to the heap, we should avoid this error.

Fixes #8