Switch to bufferevent
Merge pull request #14 from iclemens/bufferevent

Switch to bufferevent.
Cleaned up global namespace.
Cleaned up global namespace
Added frequency test
Return NAN if position is unavailable.
Empty line at end of file
Added pyc to gitignore.
Updated frequency test
Merge pull request #17 from iclemens/master

Update xml machine branch.