Restructured the optimization labs.

Moved a bunch of stuff around and redid some formatting. These labs definitely still need revision.