ignore .DS_Store
refactoring RBM to use Eigen unaryExpressions