Automated optimization for broadband flat-gain antenna designs with artificial neural network