Non-linearity compensation of high-performance data acquisition systems for magnetic measurements