added link length modelling
cleaned dependencies
cleaned dependencies