fixed major integrate() and collision() bugs