Changes made to vision, added try-catch statement in distance calculation