Finalized MMA7455 code