updated math libraary