added vector math library, started collision detection