A library to calculate results of Single Transferable Vote elections using the Weighted Inclusive Gregory Method