add gitignore
rename code3 to code4
rename code2 to code3
adds elec_results gross, untestable script
move testing bits and function-based version of initial module into 2nd refactoring step
update module docs and some code tweaks