Write solveForQuantity and helper functions.
-Not tested yet!!
-Fixed bug in printing of asserts in linInterp
-Do not overwrite tablePoints in multidimInterp