   if (_cnt < _size) _cnt++;
 }
 
-// returns the average of the data-set added sofar
+// returns the average of the data-set added so far
 template <typename T>
 T RunningAverage<T>::getAverage() const
 {

#include <Wire.h>
#include <LSM303.h>

/* This example uses the accelerometer in the Zumo Shield's onbaord LSM303DLHC with the LSM303 Library to 
 * detect contact with an adversary robot in the sumo ring. The LSM303 Library is not included in the Zumo 
 * Shield libraries; it can be downloaded separately from GitHub at: 
 *

// class Accelerometer -- member function definitions

// enable accelerometer only
// to enable both accelerometer and magnetometer, call enableDefault() instead
void Accelerometer::enable(void)
{
  // Enable Accelerometer
