fixed demos and warnings in cov.py
Merge pull request #15 from marionmari/bug/running-demos

fixed demos and warnings in cov.py