Dumping Beliefs is implemented in the BeliefExporter.h file
Update cifar_experiment.py

cifar_experiment.py is modified so as to enable dumping beliefs in to a file.
comments
added ability to reset added and found subtrees from the tree miner.
fixed treemining timeshift to work when bottom layer is not 0.
added VideoWriter class to be able to write videos
fix compile error by linking math lib
removed unused getGrayImageFloat_c1() method from ImageSourceBase.h
improved comments for CifarSource class
re-factored ImageSourceBase to make it simpler.
removed CztMod getFloatFromImg method because it's broken and not used
converted tabs to spaces / formatting.
Added getRGBImageFloat() and supporting methods to ImageSourceBase
Bug fix, was loading corrupt CIFAR images.
batch_size was not being initialized properly.
gitignore OutputBeliefs.txt
Bug fix in BeliefExporter. Was crashing because it was trying
to delete an uninitialized pointer on startup.

Don't need createMatFile(), instead writeBeliefToMat creates the file
if it doesn't exists.

It leaves the file open, because I believe reopening it each time would
slow things down. Instead we can call closeBeliefFile() after, or
let the destructor do it for us.

Also, it adds the image label / class to the first column of the output
file, so it is easier to correspond the belief to the class label,
plus it works better this way when using the Waffles machine learning tool.

Also moved the file name as an argument to the constructor.
Added some scripts to run waffles machine learning toolkit.
refactored cent_image_gen.c
Renamed displayFloatCentroids/Vector to printFloatCentroid/Vector
To be consistent with showing an image, vs printing values.
reoganize methods used for rescaling centroids