fixed error in formula for getting cylinder dimensions from ratio of diameter to length