Removed pyc files

Removed compiled python files. Also updated the .gitignore files to
include pyc files - hopefully this will fix further issues.