fixed bug that was creating too many lines in reg.dat. RDDATA had some entries with the same key (same company and year). We are now using only the first entry in both the state space model and the regressions.