Prev One:A new approach for evaluating the current and charge density distributions in electron guns and beams