Modifications to allow variable height and radius on (Gaussian) cylinders.