NMF: A Flexible R package for Nonnegative Matrix Factorization