Modified the primitive wire class and bounding box class -should be finished