Added select and field methods to iterator class
Added sanity check to signal_handler.cc
Added new functions to math table
Solved bug at SDAE
Added loss parameter to trainable methods
Merge branch 'master' into loss
Added new version of loss function, which computes mean and variance of the loss
Solved problems with loss functions
Modified digits test