fix for arithmetics involving empty vectors
fix for round, BigDecimal only supports finite non-nan numbers