Added plot code to Database.py and inverse_pred_script.py