move functions into class body to avoid double definition errors
Merge pull request #50 from kjs73/lowest_eig_namespace

move functions into class body to avoid double definition errors