added text, changed code

added to manuscript
added figures to code and manuscript