added GeneralizedCylinder class