Add program MeasureNight, copies from VYSOS and modified.