formula for volume of water in horizontal tank