[utils] fix Arnoldi and implement arnoldi_projected