Integreated the SQLite call into main. Added mortality probs by gender. R code now reproduces govt file with new data.