ADD: Added xor unit test.  ADD: Added multi-layer optimizer as alternative to gradient descent.