A data-driven method for reconstructing and modelling social interactions in moving animal groups. (27th July 2020)