Simulations of electrostatic lenses by personal computer