Adding gyro implementation, small changes