Fixed possible(?) bug when running Varsens on already created Objective.  Added flatten and export methods to Objective class.