Add piece self-rotate method and check rotated orientation when matching shelf widths for simplified cuts