calculating volume of a tapered cylinder