removed unused code from points2mf.py