Reverted back to floats for distances.  Was casting to int before