Calculating the volume of a cylinder