missing raise statements for TypeErrors
Merge pull request #6 from JohannesBuchner/master

bugfix ("raise" added before TypeError in enforce_power)