A modified Chi-Squares test for improved bad data detection | Synapse