Minor fixes to orbits
Add ability to count number of decompositions

The -a option (must come after k parameter) tells the program to find
all decompositions, rather than exiting after finding one.
Add commented debugging code.