Merge pull request #3 from Kadish/master

Merged branches.
Changed local address for HTTP requests.

Maybe working now?
Fixed a divide by zero error.