new linear model
preparing to redo with DR9
Updated to use dr9 database