Added NewtonsMethod and updated build process.