JNMF code seems close to functional. May be some bugs left.