Whole bunch of changes!

- Changed checking of wall collisions
- Corrected collisions between spheres to calculate the correct
velocity direction
- Some miscellaneous stuff