Modelling and predicting mobility in wireless ad hoc networks