removes NTL references and improves documentation