SMS: Optimising convolutional neural networks for large-scale neuroimaging studies