Refactored code

Refactored code to reduce memory footprint and CPU time.
Many cosmetic changes to code layout.
Removed old function from module_latex.
Added unique identifiers to module_latex to prevent potential memory
leaks.
Required electrons from Z—>ee samples to fall within Z mass window (to
reduce fakes in the I, F regions)