temporary save for coding in dorm

- NEW : add vertex map to help build the sparse matrix.