+ Added the ability to set theretical distance.