An artificial neural network applied to multiphase flow metering