Threads are not speeding up computation a lot

Thank you for help.
I will see if this lib will work for my needs (not only this particular computations)