multi-thread computing and multi-core matrix factorization bug fixed