Optimized the get.thresholds() function a bit. Before, getting thresholds at a precision of 1e-3 with simulations of size 200 took about 3 minutes. Now, getting thresholds at a precision of 1e-5 with simulations of size 1000 takes about 1 or 2 minutes (or 11 minutes with simulations of size 10000).
Merge branch 'master' of https://github.com/cdtorres/20130630-Poster-Project