Removed line based on this commentary from Ben Redelings:  The "if (...) break;"  statement should not be there, I think.  In some of my examples, the autocorrelation generally decreases as a function of the lag, but not completely monotonically.  Stopping as soon as you see an increase can result in ignoring a significant portion of the positive autocorrelation.  This is probably due to estimation error for gammaStat[lag] but this can happen when gammaStat[lag] is still pretty high, so that rounding to zero (e.g. 'break') seems like it would not give very conservative (i.e. low enough) estimates of the ESS.
Removed line based on this commentary from Ben Redelings: 
The "if (...) break;"  statement should not be there, I think.  In some of my examples, the autocorrelation generally decreases as a function of the lag, but not completely monotonically.  Stopping as soon as you see an increase can result in ignoring a significant portion of the positive autocorrelation.  This is probably due to estimation error for gammaStat[lag] but this can happen when gammaStat[lag] is still pretty high, so that rounding to zero (e.g. 'break') seems like it would not give very conservative (i.e. low enough) estimates of the ESS.

git-svn-id: 67bc77c75b8364e4e9cdff0eb6560f5818674cd8@54 ca793f91-a31e-0410-b540-2769d408b6a1

armanbilge/BEAST_sandbox,svn2github/beast-mcmc,svn2github/beast-mcmc,armanbilge/BEAST_sandbox,svn2github/beast-mcmc,armanbilge/BEAST_sandbox,svn2github/beast-mcmc,svn2github/beast-mcmc,armanbilge/BEAST_sandbox,armanbilge/BEAST_sandbox