Contains functions and classes to generate port to port distances