Electromagnetic flow meter: Accurate performance in complex fluid environments