Added pseudo code for accelerometer, gyro, and line sensors