Calculates the volume of various tank shapes, including rectangular, cylindrical, and elliptical tanks.