Collision Issues

Added collision code, acts oddly.

Ask on Stack Overflow.