measure volume of cylinder