new changes are added to function 'load'
the funtion 'smoothnormals' is added