Fix createBreakevenFun to match NPV changes