Working with a simple matrix