Made a reusable library out of the MMA7361 3-axis accelerometer code