Update thermistor.device.nut with optimizations and simplifications

Optimized and simplified for minimal calculations and increase accuracy of ADC