changed imu callback to use a smart pointer (boost::shared ptr) to make sure the data is not destroyed when the callback ends, also tabs