Fixed overcast model
Fixed function functions