set threads in numexpr and bugfix to crossval