added make_cmap, updated funcs in viz.py