updated PRIME1.py: consistency errors resolved