ENH: various fixes in the example scripts
cosmit: pep8
NF: added a converter utility
COSMIT: pep8 + details