further minor changes - replacing for loops with Eigen functions where possible, fixed uninitialized maximumLikelihoodPerNeuron.