Update and rename nnsc.py to nmf.py