The IMPACT Solar Wind Electron Analyzer (SWEA): Reconstruction of the SWEA Transmission Function by Numerical Simulation and Data Analysis