Save original matrices for A1 and AN