This is a small Python script to perform an n-sided optimization given two ROOT histograms