Added newmath lib