finally got a factorization of the hydrogen functions up and working...