fixed problem
fixed initialisation problem
found average value for missing value replacement