Add ability for clusterSpikesAndTorques to use distRatio function. Fix distRatio function.