A general multisegment artificial neural network architecture for the efficient evaluation of electromagnetic plane-wave wedge diffraction