 //		type == Property::GreensFunction::Type::Retarded,
 		type == Type::Retarded,
 		"ChebyshevExpander::generateGreensFunctionGPU()",
-		"Only evaluation of retarded Green's function is implemented for GPU so far.",
+		"Only evaluation of retarded Green's function is implemented"
+		<< " for GPU so far.",
 		"Use CPU evaluation instead."
 	);
 
-/*	complex<double> *greensFunctionData = new complex<double>[lookupTableResolution];
+/*	complex<double> *greensFunctionData = new complex<double>[
+		lookupTableResolution
+	];
 
 	for(int e = 0; e < lookupTableResolution; e++)
 		greensFunctionData[e] = 0.;*/

	TBTKAssert(
		cudaMalloc(
			(void**)&jIn2_device,
			hoppingAmplitudeSet->getBasisSize()*sizeof(complex<double>)
		) == cudaSuccess,
		"ChebyshevExpander::calculateCoefficientsGPU()",
		"CUDA malloc error while allocating jIn2_device.",

			coefficients[coefficientMap[n]][0] = jIn1[n];
//			coefficients[coefficientMap[n]*numCoefficients] = jIn1[n];

	const int numHoppingAmplitudes
		= hoppingAmplitudeSet->getNumMatrixElements();
	const int *cooHARowIndices_host
		= hoppingAmplitudeSet->getCOORowIndices();
	const int *cooHAColIndices_host
		= hoppingAmplitudeSet->getCOOColIndices();
	const complex<double> *cooHAValues_host
		= hoppingAmplitudeSet->getCOOValues();

	//Initialize GPU
	complex<double> *jIn1_device;
