Add ref.; using Ruby's BigDecimal for exact arithmetic results