compiling version but not convergent yet for XOR Test