update and add dual likelihood

very nice implementation this class! :)