LighPrimitives refactoring. Fixed Cone bug with unnessessery code.