fixes for IMU model.
config file and cleanup for IMU code.