Preliminary code to test truncation algorithms for infinite series and their applications in Statistics.