Added component lexical-depths
Added function for computing lexical depths.