eigen_sy: cleanup the matrix=None problem