Updated Query4 -- fix queries, set up temp size variables. @todo: get station averages, divide by length_mid, report.