Magnetic flow meter principle