fixed typos. added distance calculation to vision.