physics: reverted collision code to placeholder, added dot product funct.

What was I thinking? Reverted back to placeholder code, will need to think of a better way of doing this. Which works in three dimensions.