Added a plotting script for debugging