updated (fixed?) i2c interface so that it actually works with some peripherals

The previous i2c interface was rather incompatible with simple peripherals like some sparkfun IMUs that expect 1 command byte so I just extended it. I'm willing to provide examples if you decide you want to use my change