Adds almost completed shearing sheet code