Minpr changes

- Plotting now possible without writing csv files
- added -f/--format to specify file format for plotting
- Perform matplotlib check at better position
- input_check returns true/false and prints approriate message