bug fixes, and implemented multi grid sized collision detection