Improved script _plot_4's performance

Moved graphing process into functions to make it easier to alter.

Added option to DB_API that allow for the user to select all files
where the Connection_Type is NOT the specified value (for LTE vs
non-LTE)