added creation of half-hour start-time
dropped temp variables
added generation of diagnostic plots