deleted sandbox
framework for analysing distance