update and add dual likelihood

sgref, see above

whitespace