formula for calculating the volume of a vertical prism