newtoncotes.New to return a pointer