Improved collision with objects.

The functionality is much better. I'm going to try and create a function that handles collision but within a fifth of the current block of code. :3