05/09/14 ai created code and plots.