Improved code performance (Math.Pow(x, 2) replaced with x * x and similar cases).
Code formatted.
Merge pull request #24 from KvanTTT/master

Improved code performance (Math.Pow(x, 2) replaced with x * x and simila...