Add scaffold for RBM test environment.
Fix some bugs.
Merge branch 'master' into rbm
Fix includes.
Merge branch 'master' into rbm
Merge branch 'master' into rbm
Set minimum number of batches to 1.
Fix crucial bug.
RBM training works.
Add test case.
Merge branch 'master' into rbm
Merge branch 'master' into rbm
Remove macros.
Add asserts.
Merge branch 'master' into rbm

Conflicts:
	test/test.cpp
LibSVM: Wrong index is written to output stream.
crossValidation computes training- and test see
python: Add SigmaPi layer cbindings.
Merge pull request #61 from AlexanderFabisch/master

Fix build file.
Merge branch 'master' into rbm

Conflicts:
	test/test.cpp