Swift for numeric programming