Deleting functions in gui that were moved to scd class.
Adding autoCofactor.