Added plot saving and optimal threshold value output
First version of boxplot