preliminary alignment code, also added a library to libraries for things like averaging an array.  A modificiation had to be made to the cpp file of it to get it to compile (just took out a few functions that we'd never use).  This surely messed up your motorcontrol.ino file joe, so try to incorporate this one with yours.