Modelling non-invasive brain stimulation in cognitive neuroscience