VID-1936 Adding types to docs
VID-1936 make parameter optional
VID-1936 Find square dimension by choosing larger between height and width