pow2 is now generic and conforms to the documentation
use assert_all instaed of all in pow2
Merge pull request #662 from jtlap/fixing_pow2

pow2 is now generic and conforms to the documentation