Messing with matrices