finalized the MMA sensor firmware