Added matrix multiplication.