regStats(List)
This function removes zero ideals from the list of ideals, then calculates the average and the standard deviation of the regularity of the list of nonzero ideals.



If the list given is a list of all zero ideals, regStats returns infinity for the mean regularity.


The function removes zero ideals from the list of ideals before computing the two values.
The object regStats is a method function with options.