 			P[i] = Psample[i][k];
 		}
 
-		k++;
-
 		if (static_cast<unsigned int>(count_if(P.begin(), P.end(), [](const float& v) { return IsMissing(v); })) ==
 		    P.size())
 		{

	}
}

cape_multi_source cape_cuda::GetNHighestThetaEValuesGPU(const std::shared_ptr<const plugin_configuration>& conf,
                                                        std::shared_ptr<info<float>> myTargetInfo, int n)
{


	float* d_Tpot = 0;
	float* d_MR = 0;
	float* d_prevTpot = 0;
	float* d_prevMR = 0;
	float* d_meanTpot = 0;
	float* d_meanMR = 0;
	float* d_range = 0;
	float* d_T = 0;
	float* d_RH = 0;
	float* d_P = 0;
