Updated TorusPrimitive example and added comments