Complete compensation of criss-cross deflection in a negative ion accelerator by magnetic technique