added vector-point collision detection