commented out some mpu3050 code for now. removed duplicate if(result) check