Augmented matrix and row reduction