Added matrix multiplication code