Fixed uninitialized measurement values leading to numerical instability; using C66 standard library sqrt function