fixed a bug in the __pow__ function, updated to version 1.2.3