Changed a little bit for SimExample.py. Note that the threshold specified by using chi-squared estimate performs better than its Sanov counterpart for the "model-free" method.