fixed bugs for 2.1.1
 improved doc.
fixed bugs in test.py and mrf.py
minor changes
Merge pull request #98 from DerThorsten/master

python fixes for 2.2.1