How do I assign a value to a matrix?