simplified to single gain, added automatic center, started using scale ADC values, tried error only centering