added writing outputs, in correct format and added burn in period code
Merge branch 'hw3' of https://github.com/david-ryan-snyder/mlcd into hw3