added liding means calculation to converted values and also have thes logged instead of momentary values