Fixed the superclass subclass problem
Fixed most of the small problems, it now runs quite nice, but it does
not currently converge as one would want.