Data issue

This changes the SQL layout to support (pre)processed data without raw/preprocessed data.
It fixes any relevant code involved on thath
This makes me think: should we add "version" (as in, program version) to the ```processed_params_*``` tables?  E.g., to make sure we know what version of the program the params were applied to.