Multi-electrode lens optimization using genetic algorithms