Use normal multiplication instead of exponentiaion for pow 2 case.
Merge pull request #9 from claudetech/master

Use normal multiplication instead of exponentiaion for pow 2 case.