Unity interview question

Implement a convolution filter that applies a given kernel to a given matrix