BetaDistanceCalculator

Still needs to test and format