Ion extraction systems: optics and design