Thread Measuring using Three Wire Method