Producing of Gas and Metal Ion Beams with Vacuum Arc Ion Sources