Simulations to better understand cortical spreading depression