Fixed remaining latex problems with exercises. Tests work.
merge