Expected FrequencyMatricesofElections: Computation,Geometry,andPreferenceLearning