level * 2.0 changed to pow(level,2.0).
Merge pull request #19 from fredrikbryntesson/master

level * 2.0 changed to pow(level,2.0).