Standardize comments

Rename depth parameter for clarity