balmer point screwed up project

combined refactoring with rewriting. Error is now that input just
returns function name and not value. wtf