Updated Phaser.Point.centroid function.

Performance boosts and bugfix with averaging.