Simple simple matrix functions.