Mathematical and computational modelling of correlations in dislocation dynamics