Create calcDepthOptimized.h