more work with matrix manipulation.