Added automatic placement of legend on the plots, made ratio plot a bit larger and renamed files