added distance formula to vision (I'm not sure if this is needed or not)