Modified MoveDog. Added Phase 2 - dog moves 0.5m inwards at each vertex