Add comments and simplify the Function_EigensGUI