add multi-thread computing and multi-core matrix factorization