Added some utility functions to help debug sensor data