Matrix multiply & 2-d image convolution