It's hard to look at the code and see exactly what it is doing.
Your sensor is probably a MEMS sensor, and fluctuation is normal.
My problem with Sparkfun code is, that an error is no passed on to higher levels. For example the Wire.endTransmission() function returns a value if something is wrong. But with the code you use, you don't know if something is wrong.