Refactored some of the noise methods

Perlin noise, cosine interpolation, averaged smooth noise, etc.
Game, region, actor updates

Refactored player updating, refactored and removed dummies in region,
actor changes are result of player updating refactoring. Also some
various things in processGame() refactored.
Merge pull request #2 from SuprahFry/master

Various things