protected final double scaleToDist(int s){
  return Math.pow(expansion,s);
}

protected final double scaleToDist ( int s ) { return Math . pow ( expansion , s ) ; }
convert a scaling factor to a distance .
