Added support for 2-D arrays to OnlineStats class and made sample logging optional.
Added pZgS() and pZgS_MC functions to Neurons class.