Fix calcCollisionsAll method

PHYS-16 #time 5m

I realized I had accidentally deleted a few lines from the body of this
method that rendered it useless. Restored them and now all is well. Or
at least as well as it was before.