XOP v1

Tested and working in Igor.