Fixes at imu.c so that it compiles natively.

After the modifications for the python/C interface
some bugs were left in the code. After the modifications
the code compiles correctly.
Merge branch 'master' of https://github.com/erlerobot/erle_control