Analysing Vessel Behaviour for Medium-Term Prediction of Vessel Collision Risk