Removed unused sorting methods.
cleaned up multinomial by continuous in create plot.
Removed superflous parts of and cleaned up create_plot
Incorrect merge, ignore this commit. reverting back next.
Revert "Removed superflous parts of and cleaned up create_plot"

This reverts commit 60bcd9e7e2ee9fd0cc18b0718abadfc905f8c4d9.
Reformatted part of create pairwise plot.