Bugfixes to parallel entropy computation
Merge branch 'thread-local' into lending-club