changed default behavior for 0s and added an ignoreZeros option.