Gravity inversion is disconnect from DataSource objects now in order to allow for more flexibility
when it comes to the definition of of Mapping and Regulariztion. GravityInversion does not hold a reference to the datasource object anymore.
use inv=GravityInversion()
inv.setUp(datasource)
rather than inv.setDataSource(datasource); inv.setUp()