Accurate Resistance Measurement of Composite Materials for Flexible Devices