Determines TLegend size before creating legend. Seems to be better no matter the number of inputs.
Added 'plotsqrts'