Added threaded optimizer
Merge branch 'master' of https://github.com/iburinoc/Cube