updated doc headers and code comments. Added saving of data product(s) with pickle at the end of the analysis