The multi-stage railgun