Optimizations made

Bugs Fixed, Optimizations made to reduce load on GC, and adjustments made for introduction of Broadphasing and Cell objects.