A VLSI sensor based rangefinding system