fixing the garbage collection for the calculus case.
some clean up.
More clean up
 - toString / hashCode / equals goodness
 - unneeded doubled commgroup references removed
 - some logging tweaks