FIXED: Setting the number of threads

Number of threads should be set before importing NumPy to have any
effect.