Successfully built on OSX (Mavericks) and executed on the 3.1.

Issues regarding undefined references to Wire were caused by an outdated version of Teensyduino - 1.18-RC1 is required.  Readme file updated to reflect the requirement.

See http://forum.pjrc.com/threads/24775-compiler-problem