What are the optimization strategies for measuring media flow with electromagnetic flow meters?