implemented distance calculator for NLNCA dOdF calculator