Aggregation of preferences by the generalized row sum method