Added a function to find optimal MET Binning