Fixed compiler warnings

* Using Int::pow
Merge pull request #154 from bvssvni/master

Fixed compiler warnings