Metric Space Magnitude and Generalisation in Neural Networks