changed int to float for pow() function. This was causing compiler to fail on Mac OS X.
Merge pull request #2 from jamescoxon/master

changed int to float for pow() function. This was causing compiler to fa...