formula for finding height of a rectangular prism