refactor proof of PokeNext
remove finish functions
turn elementary bit functions into inline functions
closes #13 #14