correction setup + work on joint mp tests refactoring to come
major refactoring undergoing test passing so far
major refactoring phase 2 tests passing 
major refactoring last stage. check nonLinearTest for strange behaviour
and non symetry