A Study on Multi DOF Magnetic Scale for Motion Control Compensation of Machine Tool