Incorporate unit test for correlation in measurement errors