DMCalc Version 2, written in Swift.