autofit function

Adjusts cell widths and heights