Surface area and volume of pyramids