add code to read in the resort data if it exists.
had to add read_potcar so the xc would be set correctly.
new test to make sure magmoms is not written out twice
some notes on investigating why magmom is written twice
added wrapup section