Scientists have used a neural network to determine the pattern of earthquake aftershocks