NEW: added taoinversion for inversion with tao (not every field is necessary + cost function is constant