Updated template analysis "update" function, and coded linear model analysis template.