update util_learnText.py
modify NMF.HALS to support firstUpdateMatrixFlag