updated to new version of Xively

extra precision, and other differences I had to do to make it work.