Added code to estimate thread locks.
Merge branch 'master' of https://github.com/mattbellis/3pcf