Added setting of finetune_cost and errors to __setstate__ in SdA.