fixed printing issue, added simple plotting script