Expand printDihedrals to implement github issue #4.  Now all that's left are
tests.