Add XOR reduction for indices - optimisations still possible
Merge branch 'master' of github.com:hpce2014/hpce-2013-cw6