An alternate distance formula proposal has been made by @WallyHale in the AltBeacon repo: AltBeacon/spec#30 (comment)
This is similar to the technique currently used by this library but it uses a comparison to the ratio of the measured rssi vs. the calibrated rssi at a series of known points and linear interpolation to approximate distance between these points.