Reduce duplication using the C preprocessor and def-include mechanism
same to similar. it's not the same code.
add XTS to the list of multi sized implementation

speed improvement in the 2x ~ 2.5x
small rename of define
remove spurious spaces.
add a ni optimised ctr function.