Updated PMI calculation