col_degreemap added in toind.py, tested.(unit test and comments are not updated)