fixing yieldFunc related bug #2

yieldFunc return wrong output because security price was wrongly subtracted from basis , security price should be deducted from the output of scope.PRICE