OPTIMIZATION OF DOUBLE LAYER GRIDS: USING SPSA AND NEURAL NETWORKS