repaired broked predictiveCollision.py