Brute-force bug fix; had the loop indices and bounds on the wrong estimators.
Brute-force bug fix; had the loop indices and bounds on the wrong estimators.

brettdh/instruments,brettdh/instruments,brettdh/instruments,brettdh/instruments