Update blur function signature.

Now, it takes blur kernel matrix as an input.