proporz function

Proportional apportionment