documentation
moved makedict to mapping.py
documentation
made deterministic. ngold==nreal.