added change point analysis code
added CPA stuff, wrote 'test next point' method