Swift mathematics library for graphics software