fix indent error in interpretPriors, switch to isinstance

fit.py was failing on import due to indentation errors, probably
mixing tabs with spaces. Now use 4 spaces for indentation throughout
interpretPriors.

Another style guideline seen in PEP8 is to use
isinstance(<object>, <type>) rather than (type(<object>) is <type>)
so replace those instances in interpretPriors.