fix to CalcModel re: NSDecimalNumber