Low-cost, high-precision DAC design based on ordered element matching and verification against undesired operating points for analog circuits