fixing bug in hedged conditional expectation portfolios