Some general modifications & tidying up of generated lems analysis scripts

Work towards helping out with
https://github.com/openworm/OpenWorm/issues/169