Wrote library based on code written separately (also by Team Impulse). Fleshed out readme.