Minor changes.
Added an important comment.
Corrected a mistake in the docstrings.
Renamed primitive.py to nonpersonalized.py.