change MD methods to take a MTE*, declare new MeasurementDetWithData data, redefine MeasurementDetSystem, and make LayerMeasurement contain an MTE*. LayerMeasurement should be used by value after this.