a matrix demo
fix error in matrix multiplication caused by not allocating separate space