Fixing an error in power function
Fixing a syntax error in argument validator function
Added test
Updating dist