Working on second mathematica chapter.

finished spatial modes, moving on to alignment modes