Converting nil returns in compute to 0.0 returns

As per @Radar 's directive in https://github.com/spree/spree/issues/3787