Invert button working but buggy

inverted vector is created but original is deleted.
Create inverse appears to work

may be buggy - need to fix dragging to check