threading now working with mkl imported