Modified i2c script to read 2 axes of data