Added Analog Input Scaling