New ion-optical devices utilizing oscillatory electric fields. IV. Computer simulations of the transport of an ion beam through an ideal quadrupole, hexapole, and octopole operating in the rf-only mode