Rename matrix and rhs.