Create calcDepthOptimized.c