Added Implementation for EIG algorithm