fncDepth function

Basic function for functional depths