Added default value for loss in SdA constructor, changed name of job type in submission script.