Added cylinder class. Numerous fixes.