added numpy example with quality control simulation