bit of a clean up. updated test file & plot functions