wall-functions: Added "updated" check and avoid /0 in the case that the velocity...