 const int motorUpdateRate = 50; // gyro sample rate
 const int calibrationSamples = 1000;
 
-// Initial calibration value
-float calibratedOffset;
+// Initial calibration value [x, y, z]
+char dims[] = {'x', 'y', 'z'};
+float calibrationOffset[] = {0, 0, 0};
 
 // Indicator LED
 const int LED = 13;

    Reads the IMU's gyro
    @return rate in degrees / ms
*/
float readGyro() {
  if (imu.gyroAvailable()) {
    imu.readGyro();
  }
  return imu.calcGyro(imu.gz) - calibratedOffset;
}


/**

  setupIMU(); // Gyro

  // Calibrate the gyro
  zeroGyro();

  // Find the sun to center on
  // findSun(); // comment this line out for basic testing
  
  // Setup motor update interval timer
  MsTimer2::set(motorUpdateRate, updateMotor);
