A new MagFET-based integrated current sensor highly immune to EMI