Fix issues.
Merge remote-tracking branch 'origin/correctrotate' into correctrotate

Conflicts:
	initParams.m
the random shuffle shouldn't be performed while getting data.
Merge branch 'fixGetData' into correctrotate

Conflicts:
	nn_train.m
	rbm_train.m