added control of threading of objective function evaluations, closes #42
added support for multithreaded computation of natural gradient