From Condorcet to Fourier; An analytical approach to voting systems 1