Lab 2 for CMU 16-831 Statistical Techniques in Robotics.