Improved coilgun