Re-write SSAFEM Jacobian and residual code.

The current version is less cryptic and closely follows the notes I
committed earlier today. And it still works! (I was surprised.)
Improve SSA FEM notes.