for an LM311N Comparator to work as a zero crossing detector, Should a 20k resistor be placed between VS+ and the output?