function returning maximum depth of mixed layer.