Working on math libraries