uncommented the NMF code for better results