adding code to test background p-value calculations, removed some limits on output, and added a max_possible_score limit to stop calculating scores when you can't hit a threshold.