Prioritized functions Modications

tried to change Zaiming's code to make priority function more generic
i.e. based on kWh served and not Households served and use a dummy
variable for row names instead of "Name" field.