remove duplicate function definition
add plotting script

Used to included in the solutions file.
remove plotting code
update plots