   delay(minTime_ms);
 
   sensorValue = analogRead(analogInPin);
-  alphaSigned = 2*((sensorValue-sensorValueMin)/(sensorValueMax - sensorValueMin)-0.5);  
+  //alphaSigned = 2*((sensorValue-sensorValueMin)/(sensorValueMax - sensorValueMin)-0.5);  
   alpha = max(fabs(alphaSigned), deadBand);
   alpha = min(alpha, 1);
     if (alphaSigned>fabs(deadBand))

  Serial.begin(9600); 

}

void loop()
{

  double sensorValueMax = 767;//1023
  double deadBand = 0.05; // Should not be zero
  sensorValue = analogRead(analogInPin);
  //alphaSigned = 2*((sensorValue-sensorValueMin)/(sensorValueMax - sensorValueMin)-0.5);  
  double alpha = max(fabs(alphaSigned), deadBand);
  alpha = min(alpha, 1);
  if (alphaSigned>fabs(deadBand))
