Convert to universal div/0 safe method for CPS calcs