Wrote functions for height, thickness, and material