added newmath library