Getting Accelermoter output