minor updates on datamisfit. Target should move to inversion directive.