Documentation updated,nonzeroMean method updated