moved evalSampleFvar into Agent class, added learner class