Fix C++ example.
Use XOR for Python example.
Add xor example.
Use correct member.
Add XOR description.
Fix bug in CMakeLists.
Fix illegal number of batches.
Use logistic activation functions.
Fix python bindings.
Add test case for MBSGD.
Merge branch 'master' into rbm

Conflicts:
	test/test.cpp