Added range finder.
Minor range finder improvements.