Added kernel for matrix multiplication.