Numerical Front Contact Grid Optimization for Photovoltaics