Callow cleanup and addition of nonlinear Arnoldi, equivalent to generalized Davidson for Ax=eBx