Added depth calculation metrics to structural plugin.