Optimizing (non-)linear measurements for model construction and validation