metric distance now computed in CSH and passed to RL; other minor enhancements