Modeling and optimization of integral capacitor fabrication using neural networks