Does the sensor work without the library code?
I was not be able to make the MPU work without the pull-ups really