How the new Coil guns (and rail guns) work