added pminorm.py