added script ordering eigenfunctions and eigenvalues in mathematica