drastic change in match_temp (normalizing the data) and some commented material on correctLF