Calculating volume and surface area of cylinders