Mathematics library written in Swift