Incorporating underlyingFunction a little more difficult that first seemed. This is a holding point where no calculations should have been disrupted.