Non-horizontal submanifolds and coarea formula