Added distance scaling to vision system