diff --git a/apps/specular_estimation/CMakeFiles/specular_estimation.dir/src/specular_estimation.cc.o b/apps/specular_estimation/CMakeFiles/specular_estimation.dir/src/specular_estimation.cc.o
index a3092e33248015acf89f0932891eaf0911f1d551..277eb87decceeb50ac7a8a79ba3f8cd0d3b30537 100644
Binary files a/apps/specular_estimation/CMakeFiles/specular_estimation.dir/src/specular_estimation.cc.o and b/apps/specular_estimation/CMakeFiles/specular_estimation.dir/src/specular_estimation.cc.o differ
diff --git a/apps/specular_estimation/src/Ceres.h b/apps/specular_estimation/src/Ceres.h
index 752776ae5d7e9a1b4e9dde3784795d2113d3dd2f..ad8e3574e949c7a4d126465495f9d2195284ea50 100644
--- a/apps/specular_estimation/src/Ceres.h
+++ b/apps/specular_estimation/src/Ceres.h
@@ -36,11 +36,18 @@ class MyScalarCostFunctor {
 			double sum = 0;
 			
 			for (int i = 0; i < numberOfLights_; i++) {
+				
 				// Render the polygons
 				renderPolygons(width_, height_, programID_, lightInvDirs_[i], MatrixID_, ModelMatrixID_, ViewMatrixID_, DepthBiasID_, lightInvDirID_, Texture_, TextureID_, depthTexture_, ShadowMapID_, vertexbuffer_, uvbuffer_, normalbuffer_, elementbuffer_, indices_, MVP_, ModelMatrix_, ViewMatrix_, depthBiasMVP_, SpecularIntensityID_, specularIntensity, SpecularPowerID_, specularPower, DistanceID_, distance, LightPowerID_, lightPower);
 				
+				cv::Mat model = readPixels(height_, width_);
+				cv::Mat photograph = textureImages_[i];
+				
+				model.convertTo(model, CV_64FC3, gain, bias);
+				photograph.convertTo(photograph, CV_64FC3);
+				
 				// Calculate the residual
-				meanSquaredError(i, height_, width_, textureImages_, sum, gain, bias);
+				sum += meanSquaredError(model, photograph);
 				//structuralSimilarityIndex(i, height_, width_, textureImages_, sum, gain, bias);
 				
 				// Swap buffers
@@ -127,15 +134,10 @@ void specularMinimisation(double& SpecularIntensity, double& SpecularPower, doub
 	problem.SetParameterUpperBound(&SpecularIntensity, 0, 1);
 	problem.SetParameterLowerBound(&SpecularPower, 0, 0);
 	problem.SetParameterUpperBound(&SpecularPower, 0, 1);
-	//problem.SetParameterLowerBound(&SpecularPower, 0, 0.01);
-	//problem.SetParameterLowerBound(&Gain, 0, 0);
-	//problem.SetParameterUpperBound(&Gain, 0, 2);
-	//problem.SetParameterBlockConstant(&Gain);
-	//problem.SetParameterBlockConstant(&Bias);
 	problem.SetParameterLowerBound(&Gain, 0, 0);
-	//problem.SetParameterUpperBound(&Gain, 0, 2);
 	problem.SetParameterLowerBound(&Bias, 0, 0);
-	//problem.SetParameterUpperBound(&Bias, 0, 1);
+	//problem.SetParameterBlockConstant(&Gain);
+	//problem.SetParameterBlockConstant(&Bias);
 	
 	// Run the solver
 	Solver::Options options;
@@ -169,10 +171,10 @@ void specularMinimisation(double& SpecularIntensity, double& SpecularPower, doub
 
 	\[0 < \text{max_step_contraction} < \text{min_step_contraction} < 1\]
 	*/
-
+	
 	Solver::Summary summary;
 	Solve(options, &problem, &summary);
-
+	
 	ceres::Problem::EvaluateOptions evaluateOptions;
 	evaluateOptions.residual_blocks = residual_block_ids;
 	double total_cost = 0.0;
diff --git a/apps/specular_estimation/src/OpenGL.h b/apps/specular_estimation/src/OpenGL.h
index 88fc0d7560c51cd9faa94c81f64b10536048598b..88c7ee9449a9c385aa8f4855e6bc28cc1737e74e 100644
--- a/apps/specular_estimation/src/OpenGL.h
+++ b/apps/specular_estimation/src/OpenGL.h
@@ -51,8 +51,9 @@ void terminateOpenGL(GLuint vertexbuffer, GLuint uvbuffer, GLuint normalbuffer,
 void renderPolygons(int windowWidth, int windowHeight, GLuint programID, glm::vec3 lightInvDir, GLuint MatrixID, GLuint ModelMatrixID, GLuint ViewMatrixID, GLuint DepthBiasID, GLuint lightInvDirID, GLuint Texture, GLuint TextureID, GLuint depthTexture, GLuint ShadowMapID, GLuint vertexbuffer, GLuint uvbuffer, GLuint normalbuffer, GLuint elementbuffer, std::vector<unsigned int> indices, glm::mat4 MVP, glm::mat4 ModelMatrix, glm::mat4 ViewMatrix, glm::mat4 depthBiasMVP, GLuint SpecularIntensityID, double SpecularIntensity, GLuint SpecularPowerID, double SpecularPower, GLuint DistanceID, double Distance, GLuint LightPowerID, double LightPower);
 void renderShadows(GLuint FramebufferName, int shadowResolution, GLuint depthProgramID, glm::mat4 depthProjectionMatrix, glm::mat4 depthViewMatrix, GLuint depthMatrixID, GLuint vertexbuffer, GLuint elementbuffer, std::vector<unsigned int> indices, glm::mat4 depthModelMatrix, glm::mat4 depthMVP);
 void renderShadowMap(GLuint quad_programID, GLuint depthTexture, GLuint texID, GLuint quad_vertexbuffer);
+cv::Mat readPixels(int windowHeight, int windowWidth);
 //void meanSquaredError(int imageNumber, int windowHeight, int windowWidth, std::string modelPath, std::vector < cv::Mat > textureImages, cv::Mat& residual, cv::Vec3d& residuals, double& sum, double SpecularIntensity, double SpecularPower, GLuint& DistanceID, double& Distance, GLuint& LightPowerID, double& LightPower);
-void meanSquaredError(int imageNumber, int windowHeight, int windowWidth, std::vector<cv::Mat> textureImages, double& sum, double gain, double bias);
+double meanSquaredError(cv::Mat model, cv::Mat photograph);
 void structuralSimilarityIndex(int imageNumber, int windowHeight, int windowWidth, std::vector<cv::Mat> textureImages, double& sum, double gain, int bias);
 double returnResidual(int imageNumber, int windowHeight, int windowWidth, std::vector<cv::Mat> textureImages, cv::Mat& residual, cv::Vec3d& residuals, double SpecularIntensity, double SpecularPower, GLuint& DistanceID, double& Distance, GLuint& LightPowerID, double& LightPower);
 //void computeResiduals(cv::Vec3d& residual, std::vector< cv::Vec3d >& residuals, double& totalResidual, cv::Mat& residualImage, bool calculateResidual, glm::mat4 depthProjectionMatrix, glm::mat4 depthViewMatrix, int width, int height, glm::vec3& position, float& horizontalAngle, float& verticalAngle, float& FoV, glm::vec3& lightInvDir, cv::Mat lightDirections, std::vector<cv::Mat> textureImages, int lightNumber, int numberOfLights, GLuint& SpecularIntensityID, double& SpecularIntensity, GLuint& SpecularPowerID, double& SpecularPower, GLuint& DistanceID, double& Distance, GLuint& LightPowerID, double& LightPower, GLuint& DistanceID, double& Distance, GLuint& LightPowerID, double& LightPower, GLuint programID, GLuint ModelMatrixID, GLuint ViewMatrixID, GLuint DepthBiasID, GLuint lightInvDirID, GLuint Texture, GLuint TextureID, GLuint depthTexture, GLuint ShadowMapID, GLuint vertexbuffer, GLuint uvbuffer, GLuint normalbuffer, GLuint elementbuffer, std::vector<unsigned int> indices, GLuint MatrixID, std::string modelPath);
@@ -554,43 +555,40 @@ void renderPolygons(int windowWidth, int windowHeight, GLuint programID, glm::ve
 	//std::cout << "Image " << imageNumber << ", average sum of squared differences: R = " << sum << ", specular intensity = " << SpecularIntensity << ", specular power = " << SpecularPower << std::endl;
 }*/
 
-void meanSquaredError(int imageNumber, int windowHeight, int windowWidth, std::vector<cv::Mat> textureImages, double& sum, double gain, double bias) {
-	
+cv::Mat readPixels(int windowHeight, int windowWidth) {
 	// Create an empty Mat the same size as the image
-	cv::Mat model    = cv::Mat(windowHeight, windowWidth, CV_8UC3);
-	cv::Mat residual = cv::Mat(windowHeight, windowWidth, CV_64FC3);
-	cv::Mat squaredDifferences = cv::Mat(windowHeight, windowWidth, CV_64FC3);
-	cv::Mat textureImage = textureImages[imageNumber];
-	
+	cv::Mat model = cv::Mat(windowHeight, windowWidth, CV_8UC3);
+
 	// Read the image into the Mat as an 8-bit colour image
 	glReadPixels(0, 0, windowWidth, windowHeight, GL_BGR, GL_UNSIGNED_BYTE, model.data);
-	
+
 	// 3D models have the origin in the bottom-left corner, while images have the origin in the top-left corner. The image is flipped to convert between the two.
 	cv::flip(model, model, 0);
 
-	//model = addNoise(model, 0.001);
+	return model;
+}
 
-	//model = contrastBrightness(model, gain, bias);
-	model.convertTo(model, CV_64FC3, gain, bias);
-	//cv::Mat textureImage = contrastBrightness(textureImages[imageNumber], gain, bias);
+double meanSquaredError(cv::Mat model, cv::Mat photograph) {
 	
-	/*cv::Mat texture = textureImages[imageNumber];
-	cv::cvtColor(texture, texture, CV_BGR2GRAY);
-	texture.convertTo(texture, CV_8UC3);*/
+	// Create an empty Mat the same size as the image
+	cv::Mat residual = cv::Mat(model.size(), CV_64FC3);
+	//cv::Mat squaredDifferences = cv::Mat(model.size(), CV_64FC3);
 
 	// Calculate the absolute differences between the model and the photograph
-	textureImage.convertTo(textureImage, CV_64FC3);
-	cv::absdiff(model, textureImage, residual);
+	//photograph.convertTo(photograph, CV_64FC3);
+	cv::absdiff(model, photograph, residual);
 	//cv::absdiff(model, textureImage, residual);
 	
 	// Square each element
-	multiply(residual, residual, squaredDifferences);
+	multiply(residual, residual, residual);
+	//multiply(residual, residual, squaredDifferences);
 	
 	// Crop a 1-pixel border around the residual
-	residual = residual(cv::Rect(1, 1, windowWidth-2, windowHeight-2));
-	squaredDifferences = squaredDifferences(cv::Rect(1, 1, windowWidth-2, windowHeight-2));
+	residual = residual(cv::Rect(1, 1, (model.cols)-2, (model.rows)-2));
+	//squaredDifferences = squaredDifferences(cv::Rect(1, 1, windowWidth-2, windowHeight-2));
 	
-	sum += (cv::sum(squaredDifferences)[0] + cv::sum(squaredDifferences)[1] + cv::sum(squaredDifferences)[2])/(3 * (windowHeight-2) * (windowWidth-2));
+	return (cv::sum(residual)[0] + cv::sum(residual)[1] + cv::sum(residual)[2])/(3 * ((model.cols)-2) * ((model.rows)-2));
+	//sum += (cv::sum(squaredDifferences)[0] + cv::sum(squaredDifferences)[1] + cv::sum(squaredDifferences)[2])/(3 * (windowHeight-2) * (windowWidth-2));
 	//sum = (cv::sum(squaredDifferences)[0] + cv::sum(squaredDifferences)[1] + cv::sum(squaredDifferences)[2])/(windowHeight-2 * windowWidth-2);
 	//sum += (cv::sum(squaredDifferences)[0] + cv::sum(squaredDifferences)[1] + cv::sum(squaredDifferences)[2]);
 }
@@ -598,19 +596,13 @@ void meanSquaredError(int imageNumber, int windowHeight, int windowWidth, std::v
 void structuralSimilarityIndex(int imageNumber, int windowHeight, int windowWidth, std::vector<cv::Mat> textureImages, double& sum, double gain, int bias) {
 	
 	// Create an empty Mat the same size as the image
-	cv::Mat temp = cv::Mat(windowHeight, windowWidth, CV_8UC3);
-	cv::Mat residual = cv::Mat(windowHeight, windowWidth, CV_8UC3);
-	cv::Mat sumOfSquaredDifferences = cv::Mat(windowHeight, windowWidth, CV_16UC3);
-	
-	// Read the image into the Mat as an 8-bit colour image
-	glReadPixels(0, 0, windowWidth, windowHeight, GL_BGR, GL_UNSIGNED_BYTE, temp.data);
-	
-	// 3D models have the origin in the bottom-left corner, while images have the origin in the top-left corner. The image is flipped to convert between the two.
-	cv::flip(temp, temp, 0);
+	cv::Mat model = readPixels(windowHeight, windowWidth);
+	cv::Mat residual = cv::Mat(windowHeight, windowWidth, CV_64FC3);
+	cv::Mat sumOfSquaredDifferences = cv::Mat(windowHeight, windowWidth, CV_64FC3);
 	
-	temp = contrastBrightness(temp, gain, bias);
+	model.convertTo(model, CV_64FC3, gain, bias);
 
-	sum += 3 - getMSSIM(temp, textureImages[imageNumber]);
+	sum += 3 - getMSSIM(model, textureImages[imageNumber]);
 }
 
 double returnResidual(int imageNumber, int windowHeight, int windowWidth, std::vector <cv::Mat> textureImages, cv::Mat& residual, cv::Vec3d& residuals, double SpecularIntensity, double SpecularPower, GLuint& DistanceID, double& Distance, GLuint& LightPowerID, double& LightPower) {
@@ -746,13 +738,12 @@ void viewModel(cv::Vec3d& residual, double& totalResidual, cv::Mat& residualImag
 		// Optionally render the shadowmap (for debug only)
 		//void renderShadowMap(GLuint quad_programID, GLuint depthTexture, GLuint texID, GLuint quad_vertexbuffer);
 				
-		if (calculateResidual) {
-			double sum = 0, gain = 0;
-			int bias = 0;
-			meanSquaredError(lightNumber, height, width, textureImages, sum, gain, bias);
+		/*if (calculateResidual) {
+			double sum, gain = 0, bias = 0;
+			sum = meanSquaredError(lightNumber, height, width, textureImages, sum, gain, bias);
 			//computeResiduals(residual, residuals, totalResidual, residualImage, calculateResidual, depthProjectionMatrix, depthViewMatrix, width, height, position, horizontalAngle, verticalAngle, FoV, lightInvDir, lightDirections, textureImages, lightNumber, numberOfLights, SpecularIntensityID, SpecularIntensity, SpecularPowerID, SpecularPower, GLuint& DistanceID, double& Distance, GLuint& LightPowerID, double& LightPower, programID, ModelMatrixID, ViewMatrixID, DepthBiasID, lightInvDirID, Texture, TextureID, depthTexture, ShadowMapID, vertexbuffer, uvbuffer, normalbuffer, elementbuffer, indices, MatrixID, modelPath);
 			std::cout << "Light number: " << lightNumber << ", per-pixel residual = " << totalResidual << ", specular intensity = " << SpecularIntensity << ", specular power = " << SpecularPower << std::endl;
-		}
+		}*/
 		
 		
 		/*
diff --git a/apps/specular_estimation/src/specular_estimation.cc b/apps/specular_estimation/src/specular_estimation.cc
index f308fc625b0099641e3384e22a8841f38efc9ab3..14ec1177517467b70b1f6d92d89d95fbec606927 100644
--- a/apps/specular_estimation/src/specular_estimation.cc
+++ b/apps/specular_estimation/src/specular_estimation.cc
@@ -98,17 +98,23 @@ void SpecularEstimation::DenseSample() {
 	std::ofstream results;
 	results.open (imagesPath + folderPath + "/" + imageName + ".txt");
 
-	for (SpecularIntensity = 0; SpecularIntensity < 1; SpecularIntensity+=0.01){
-		for (SpecularPower = 0; SpecularPower < 5; SpecularPower+=0.05){
+	for (SpecularIntensity = 0; SpecularIntensity <= 1; SpecularIntensity+=0.01){
+		for (SpecularPower = 0; SpecularPower <= 1; SpecularPower+=0.01){
 
-			double residualValue = 0, sum = 0;
+			double residualValue = 0, sum = 0, gain = 1.0, bias = 0.0;
 					
 			for(int i = 0; i < numberOfLights; i++) {
 
 				// Render the polygons
 				renderPolygons(width, height, programID, lightInvDirs[i], MatrixID, ModelMatrixID, ViewMatrixID, DepthBiasID, lightInvDirID, Texture, TextureID, depthTexture, ShadowMapID, vertexbuffer, uvbuffer, normalbuffer, elementbuffer, indices, MVP, ModelMatrix, ViewMatrix, depthBiasMVP, SpecularIntensityID, SpecularIntensity, SpecularPowerID, SpecularPower, DistanceID, Distance, LightPowerID, LightPower);
-						
-				meanSquaredError(i, height, width, textureImages, sum, Gain, Bias);
+				
+				cv::Mat model = readPixels(height, width);
+				cv::Mat photograph = textureImages[i];
+
+				model.convertTo(model, CV_64FC3, gain, bias);
+				photograph.convertTo(photograph, CV_64FC3);
+
+				sum = meanSquaredError(model, photograph);
 						
 				// Swap buffers
 				glfwSwapBuffers(window);
@@ -193,7 +199,7 @@ int main(int argc, char** argv) {
 
 	//specularEstimation(imageName, calibration, imageScale, showTexture);
 
-	double SpecularIntensity = 0.5, SpecularPower = 2, Distance = 1.0, LightPower = 1.0;
+	double SpecularIntensity = 0.5, SpecularPower = 0.5, Distance = 0.5, LightPower = 0.5;
 	bool denseSample = false;
 
 	if (argc >= 4) {
@@ -238,15 +244,15 @@ void renderSynthetic(std::string imageName, std::string calibration, double Spec
 	const std::string imagesPath	  = "/home/thomas/Documents/";
 	const std::string folderPath	  = "2018-09-05";
 	const std::string modelPath       = imagesPath + folderPath + "/" + imageName + "/" + imageName + ".";
-	//const std::string calibrationPath = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
-	const std::string calibrationPath = imagesPath + "2017-12-04" + "/" + calibration + "/" + calibration + ".";
+	const std::string calibrationPath = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
+	//const std::string calibrationPath = imagesPath + "2017-12-04" + "/" + calibration + "/" + calibration + ".";
 	const std::string macbethPath	  = imagesPath + folderPath + "/macbeth/macbeth.";
 	const std::string albedoPath      = modelPath + "albedo.png";
 	const std::string normalPath      = modelPath + "normal.png";
 
-	double Distance = 1.0, LightPower = 1.0;
+	double Distance = 0.5, LightPower = 0.5;
 
-	const std::string calibrationPath2 = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
+	//const std::string calibrationPath2 = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
 	int numberOfLights = 6, width = 1092, height = 728;
 
 	glm::vec3 position, lightInvDir;
@@ -283,7 +289,7 @@ void renderSynthetic(std::string imageName, std::string calibration, double Spec
 	
 	RenderSynthetic(depthProjectionMatrix, depthViewMatrix, width, height, position, horizontalAngle, verticalAngle, FoV, lightInvDir, lightDirections, textureImages, numberOfLights, SpecularIntensityID, SpecularIntensitySynthetic, SpecularPowerID, SpecularPowerSynthetic, DistanceID, Distance, LightPowerID, LightPower, programID, ModelMatrixID, ViewMatrixID, DepthBiasID, lightInvDirID, Texture, TextureID, depthTexture, ShadowMapID, vertexbuffer, uvbuffer, normalbuffer, elementbuffer, indices, MatrixID, modelPath);
 	
-	//SpecularIntensity = 0.5, SpecularPower = 2;
+	//SpecularIntensity = 0.5, SpecularPower = 0.5;
 	double Gain = 0.5, Bias = 0.5;
 
 	specularMinimisation(SpecularIntensity, SpecularPower, Gain, Bias, imageName, residualValue, residual, totalResidual, residualImage, depthProjectionMatrix, depthViewMatrix, width, height, numberOfLights, SpecularIntensityID, SpecularPowerID, DistanceID, LightPowerID, programID, ModelMatrixID, ViewMatrixID, DepthBiasID, lightInvDirID, Texture, TextureID, depthTexture, ShadowMapID, vertexbuffer, uvbuffer, normalbuffer, elementbuffer, indices, MatrixID, ModelMatrix, MVP, ViewMatrix, depthBiasMVP, lightInvDirs, textureImages);
@@ -304,12 +310,12 @@ void specularEstimation(std::string imageName, std::string calibration, double S
 	const std::string imagesPath	  = "/home/thomas/Documents/";
 	const std::string folderPath	  = "2018-08-31";
 	const std::string modelPath       = imagesPath + folderPath + "/" + imageName   + "/" + imageName   + ".";
-	//const std::string calibrationPath = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
-	const std::string calibrationPath = imagesPath + "2017-12-04" + "/" + calibration + "/" + calibration + ".";
+	const std::string calibrationPath = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
+	//const std::string calibrationPath = imagesPath + "2017-12-04" + "/" + calibration + "/" + calibration + ".";
 	const std::string macbethPath	  = imagesPath + folderPath + "/macbeth/macbeth.";
 	const std::string texturePath     = modelPath + "texture.png";
 
-	double Distance = 1.0, LightPower = 1.0;
+	double Distance = 0.5, LightPower = 0.5;
 
 	/*
 	std::vector<double> macbethIntensity;
@@ -369,7 +375,7 @@ void specularEstimation(std::string imageName, std::string calibration, double S
 	//phoSte::photometryStero B(21, 2, 22, "/home/thomas/Documents/Photometric-Stereo/Assignment_1/Apple/", "mask_dir_1.png", "mask_dir_2.png", "mask_I.png", "applemask.png");
     //B.readImage();
 
-	const std::string calibrationPath2 = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
+	//const std::string calibrationPath2 = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
 	int numberOfLights = 6;
 
 	std::vector<cv::Mat> textureImages;
@@ -403,9 +409,9 @@ void specularEstimation(std::string imageName, std::string calibration, double S
 	cv::imwrite(imagesPath + "ChArUco board.png", charucoBoardImage);
 	
 
-	phoSte::photometryStero A(numberOfLights, modelPath, calibrationPath2, macbethPath, imageName, calibration, 0);
-    A.readImage(modelPath, calibrationPath2, macbethPath);
-	//cv::Mat calibrationMask = loadCalibrationMask(calibrationPath2, height, width);
+	phoSte::photometryStero A(numberOfLights, modelPath, calibrationPath, macbethPath, imageName, calibration, 0);
+    A.readImage(modelPath, calibrationPath, macbethPath);
+	//cv::Mat calibrationMask = loadCalibrationMask(calibrationPath, height, width);
 	//calibrationBoundingBox = getBoundingBox(calibrationMask);
     A.getLightInformation(0);
 	std::cout << "Got light information\n";
@@ -521,7 +527,7 @@ void specularEstimation(std::string imageName, std::string calibration, double S
 	
 	/*
 	// Initialise the values of specular intensity and power exponent
-	double SpecularIntensity = 0.5d, SpecularPower = 2.0d;
+	double SpecularIntensity = 0.5, SpecularPower = 0.5;
 	
 	// Convert lightDirections from a cv::Mat to a vector of glm::vec3
 	std::vector<glm::vec3> lightInvDirVector;
@@ -547,14 +553,14 @@ void denseRealSample(std::string imageName, std::string calibration, double Spec
 	const std::string imagesPath	  = "/home/thomas/Documents/";
 	const std::string folderPath	  = "2018-08-31";
 	const std::string modelPath       = imagesPath + folderPath + "/" + imageName   + "/" + imageName   + ".";
-	//const std::string calibrationPath = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
-	const std::string calibrationPath = imagesPath + "2017-12-04" + "/" + calibration + "/" + calibration + ".";
+	const std::string calibrationPath = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
+	//const std::string calibrationPath = imagesPath + "2017-12-04" + "/" + calibration + "/" + calibration + ".";
 	const std::string macbethPath	  = imagesPath + folderPath + "/macbeth/macbeth.";
 	const std::string texturePath     = modelPath + "texture.png";
 
-	double Distance = 1.0, LightPower = 1.0;
+	double Distance = 0.5, LightPower = 0.5;
 
-	const std::string calibrationPath2 = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
+	//const std::string calibrationPath2 = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
 	int numberOfLights = 6;
 
 	std::vector<cv::Mat> textureImages;
@@ -570,9 +576,9 @@ void denseRealSample(std::string imageName, std::string calibration, double Spec
 	int width = textureImages[0].cols;
 	int height = textureImages[0].rows;
 	
-	phoSte::photometryStero A(numberOfLights, modelPath, calibrationPath2, macbethPath, imageName, calibration, 0);
-    A.readImage(modelPath, calibrationPath2, macbethPath);
-	//cv::Mat calibrationMask = loadCalibrationMask(calibrationPath2, height, width);
+	phoSte::photometryStero A(numberOfLights, modelPath, calibrationPath, macbethPath, imageName, calibration, 0);
+    A.readImage(modelPath, calibrationPath, macbethPath);
+	//cv::Mat calibrationMask = loadCalibrationMask(calibrationPath, height, width);
 	//calibrationBoundingBox = getBoundingBox(calibrationMask);
     A.getLightInformation(0);
 	std::cout << "Got light information\n";
@@ -629,17 +635,23 @@ void denseRealSample(std::string imageName, std::string calibration, double Spec
 	//std::cout << "Writing this to a file.\n";
 	
 
-	for (double specularIntensity = 0.01; specularIntensity <= 1; specularIntensity+=0.01){
-		for (double specularPower = 0.05; specularPower <= 5; specularPower+=0.05){
+	for (double specularIntensity = 0; specularIntensity <= 1; specularIntensity+=0.01){
+		for (double specularPower = 0; specularPower <= 1; specularPower+=0.01){
 
-			double residualValue = 0, sum = 0;
+			double residualValue = 0, sum = 0, gain = 1.0, bias = 0.0;
 			
 			for(int i = 0; i < numberOfLights; i++) {
 
 				// Render the polygons
 				renderPolygons(width, height, programID, lightInvDirs[i], MatrixID, ModelMatrixID, ViewMatrixID, DepthBiasID, lightInvDirID, Texture, TextureID, depthTexture, ShadowMapID, vertexbuffer, uvbuffer, normalbuffer, elementbuffer, indices, MVP, ModelMatrix, ViewMatrix, depthBiasMVP, SpecularIntensityID, specularIntensity, SpecularPowerID, specularPower, DistanceID, Distance, LightPowerID, LightPower);
 				
-				meanSquaredError(i, height, width, textureImages, sum, gain, bias);
+				cv::Mat model = readPixels(height, width);
+				cv::Mat photograph = textureImages[i];
+
+				model.convertTo(model, CV_64FC3, gain, bias);
+				photograph.convertTo(photograph, CV_64FC3);
+
+				sum = meanSquaredError(model, photograph);
 				
 				// Swap buffers
 				glfwSwapBuffers(window);
@@ -677,16 +689,16 @@ void denseSyntheticSample(std::string imageName, std::string calibration, double
 	const std::string imagesPath	  = "/home/thomas/Documents/";
 	const std::string folderPath	  = "2018-09-05";
 	const std::string modelPath       = imagesPath + folderPath + "/" + imageName   + "/" + imageName   + ".";
-	//const std::string calibrationPath = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
-	const std::string calibrationPath = imagesPath + "2017-12-04" + "/" + calibration + "/" + calibration + ".";
+	const std::string calibrationPath = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
+	//const std::string calibrationPath = imagesPath + "2017-12-04" + "/" + calibration + "/" + calibration + ".";
 	const std::string macbethPath	  = imagesPath + folderPath + "/macbeth/macbeth.";
 	const std::string texturePath     = modelPath + "texture.png";
 	const std::string albedoPath      = modelPath + "albedo.png";
 	const std::string normalPath      = modelPath + "normal.png";
 
-	double Distance = 1.0, LightPower = 1.0;
+	double Distance = 0.5, LightPower = 0.5;
 
-	const std::string calibrationPath2 = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
+	//const std::string calibrationPath2 = imagesPath + folderPath + "/" + calibration + "/" + calibration + ".";
 	int numberOfLights = 6, width = 1092, height = 728;
 
 
@@ -732,17 +744,23 @@ void denseSyntheticSample(std::string imageName, std::string calibration, double
 	//outputFile << "Writing this to a file.\n";
 	
 
-	for (double specularIntensity = 0.01; specularIntensity <= 1; specularIntensity+=0.01){
-		for (double specularPower = 0.05; specularPower <= 5; specularPower+=0.05){
+	for (double specularIntensity = 0; specularIntensity <= 1; specularIntensity+=0.01){
+		for (double specularPower = 0; specularPower <= 1; specularPower+=0.01){
 
-			double residualValue = 0, sum = 0;
+			double residualValue = 0, sum = 0, gain = 1.0, bias = 0.0;
 			
 			for(int i = 0; i < numberOfLights; i++) {
 
 				// Render the polygons
 				renderPolygons(width, height, programID, lightInvDirs[i], MatrixID, ModelMatrixID, ViewMatrixID, DepthBiasID, lightInvDirID, Texture, TextureID, depthTexture, ShadowMapID, vertexbuffer, uvbuffer, normalbuffer, elementbuffer, indices, MVP, ModelMatrix, ViewMatrix, depthBiasMVP, SpecularIntensityID, specularIntensity, SpecularPowerID, specularPower, DistanceID, Distance, LightPowerID, LightPower);
 				
-				meanSquaredError(i, height, width, textureImages, sum, gain, bias);
+				cv::Mat model = readPixels(height, width);
+				cv::Mat photograph = textureImages[i];
+
+				model.convertTo(model, CV_64FC3, gain, bias);
+				photograph.convertTo(photograph, CV_64FC3);
+
+				sum = meanSquaredError(model, photograph);
 				
 				// Swap buffers
 				glfwSwapBuffers(window);
diff --git a/bin/specular_estimation b/bin/specular_estimation
index 79f1cba010347a16e1d2065312a3573bc0c42ed5..6dbdb517bde2f91d649d4606d987ff955128043f 100755
Binary files a/bin/specular_estimation and b/bin/specular_estimation differ
diff --git a/greenpaper6 0.5 0.5 0.5 0.5.txt b/greenpaper6 0.5 0.5 0.5 0.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..919f49ec083f76f602c32b817129066d7b8d740a
--- /dev/null
+++ b/greenpaper6 0.5 0.5 0.5 0.5.txt	
@@ -0,0 +1,159 @@
+Roughness	Metallic	Light Distance	Light Intensity	Resiudal
+0.5	0.5	1	0	6205.3
+0.5	0.5	1	0	6205.3
+0.499999	0.5	1	0	6205.3
+0.5	0.5	1	0	6205.3
+0.5	0.499999	1	0	6205.3
+0.5	0.5	1	0	6205.3
+0.5	0.5	1	0	6205.3
+0.5	0.5	1	0	6205.3
+0.5	0.5	1	0	6205.3
+1	0	1	0	8424.56
+1	0	1	0	8424.56
+0.999999	0	1	0	8424.56
+1	1.49012e-08	1	0	8424.56
+1	-1.49012e-08	1	0	8424.56
+1	0	1	0	28065.1
+1	0	1	0	28065.1
+1	0	1	0	8424.56
+1	0	1	0	8424.56
+0.611766	0.307808	1	0	4936.46
+0.611766	0.307808	1	0	4936.46
+0.611765	0.307808	1	0	4936.46
+0.611766	0.307808	1	0	4936.46
+0.611766	0.307807	1	0	4936.46
+0.611766	0.307808	1	0	4936.47
+0.611766	0.307808	1	0	4936.46
+0.611766	0.307808	1	0	4936.46
+0.611766	0.307808	1	0	4936.46
+0.611766	0.307808	1	0	4936.46
+0.611766	0.307808	1	0	4936.46
+0.611766	0.307808	1	0	4936.46
+0.611765	0.307808	1	0	4936.46
+0.611766	0.307808	1	0	4936.46
+0.611766	0.307807	1	0	4936.46
+0.611766	0.307808	1	0	4936.47
+0.611766	0.307808	1	0	4936.46
+0.611766	0.307808	1	0	4936.46
+0.611766	0.307808	1	0	4936.46
+1	0	1	0	1913.66
+1	0	1	0	1913.66
+0.999999	0	1	0	1913.67
+1	1.49012e-08	1	0	1913.66
+1	-1.49012e-08	1	0	1913.66
+1	0	1	0	1913.66
+1	0	1	0	1913.66
+1	0	1	0	1913.66
+1	0	1	0	1913.66
+1	0	1	0	1913.66
+1	0	1	0	1913.66
+1	0	1	0	1913.66
+0.999999	0	1	0	1913.67
+1	1.49012e-08	1	0	1913.66
+1	-1.49012e-08	1	0	1913.66
+1	0	1	0	1913.66
+1	0	1	0	1913.66
+1	0	1	0	1913.66
+1	0	1	0	1913.66
+1	0	1	0	8424.56
+1	0	1	0	8424.56
+0.999999	0	1	0	8424.56
+1	1.49012e-08	1	0	8424.56
+1	-1.49012e-08	1	0	8424.56
+1	0	1	0	28065.1
+1	0	1	0	28065.1
+1	0	1	0	8424.56
+1	0	1	0	8424.56
+1	0	1	0	1956.02
+1	0	1	0	1956.01
+0.999999	0	1	0	1956.02
+1	1.49012e-08	1	0	1956.02
+1	-1.49012e-08	1	0	1956.02
+1	0	1	0	1956.02
+1	0	1	0	1956.02
+1	0	1	0	1956.02
+1	0	1	0	1956.02
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+0.999999	0	1	0	1910.57
+1	1.49012e-08	1	0	1910.57
+1	-1.49012e-08	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+0.999999	0	1	0	1910.57
+1	1.49012e-08	1	0	1910.57
+1	-1.49012e-08	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	8424.56
+1	0	1	0	8424.56
+0.999999	0	1	0	8424.56
+1	1.49012e-08	1	0	8424.56
+1	-1.49012e-08	1	0	8424.56
+1	0	1	0	8424.56
+1	0	1	0	8424.56
+1	0	1	0	8424.56
+1	0	1	0	8424.56
+1	0	1	0	2552.61
+1	0	1	0	2552.61
+0.999999	0	1	0	2552.61
+1	1.49012e-08	1	0	2552.61
+1	-1.49012e-08	1	0	2552.61
+1	0	1	0	2552.61
+1	0	1	0	2552.61
+1	0	1	0	2552.61
+1	0	1	0	2552.61
+1	0	1	0	1911.4
+1	0	1	0	1911.4
+0.999999	0	1	0	1911.4
+1	1.49012e-08	1	0	1911.4
+1	-1.49012e-08	1	0	1911.4
+1	0	1	0	1911.4
+1	0	1	0	1911.4
+1	0	1	0	1911.4
+1	0	1	0	1911.4
+1	0	1	0	1910.63
+1	0	1	0	1910.63
+0.999999	0	1	0	1910.63
+1	1.49012e-08	1	0	1910.63
+1	-1.49012e-08	1	0	1910.63
+1	0	1	0	1910.63
+1	0	1	0	1910.63
+1	0	1	0	1910.63
+1	0	1	0	1910.63
+1	0	1	0	1910.58
+1	0	1	0	1910.58
+0.999999	0	1	0	1910.58
+1	1.49012e-08	1	0	1910.58
+1	-1.49012e-08	1	0	1910.58
+1	0	1	0	1910.58
+1	0	1	0	1910.58
+1	0	1	0	1910.58
+1	0	1	0	1910.58
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+0.999999	0	1	0	1910.57
+1	1.49012e-08	1	0	1910.57
+1	-1.49012e-08	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+0.999999	0	1	0	1910.57
+1	1.49012e-08	1	0	1910.57
+1	-1.49012e-08	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
+1	0	1	0	1910.57
diff --git a/plastic6 0.5 0.5 0.5 0.5.txt b/plastic6 0.5 0.5 0.5 0.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d4e26e65d16e061b06fe84f7458008b6a62a4db
--- /dev/null
+++ b/plastic6 0.5 0.5 0.5 0.5.txt	
@@ -0,0 +1,442 @@
+Roughness	Metallic	Light Distance	Light Intensity	Resiudal
+0.5	0.5	1	0	26452.5
+0.5	0.5	1	0	26452.5
+0.499999	0.5	1	0	26452.5
+0.5	0.5	1	0	26452.5
+0.5	0.499999	1	0	26452.5
+0.5	0.5	1	0	26452.5
+0.5	0.5	1	0	26452.5
+0.5	0.5	1	0	26452.5
+0.5	0.5	1	0	26452.5
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.999999	0	1	0	32398.9
+1	1.49012e-08	1	0	32398.9
+1	-1.49012e-08	1	0	32398.9
+1	0	1	0	6912.32
+1	0	1	0	6912.32
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.694278	0.0986696	1	0	19185
+0.694279	0.0986696	1	0	19185
+0.694278	0.0986696	1	0	19185
+0.694278	0.0986697	1	0	19185
+0.694278	0.0986695	1	0	19185
+0.694278	0.0986696	1	0	19185
+0.694278	0.0986696	1	0	19185
+0.694278	0.0986696	1	0	19185
+0.694278	0.0986696	1	0	19185
+0.694278	0.0986696	1	0	19185
+0.694278	0.0986696	1	0	19185
+0.694279	0.0986696	1	0	19185
+0.694278	0.0986696	1	0	19185
+0.694278	0.0986697	1	0	19185
+0.694278	0.0986695	1	0	19185
+0.694278	0.0986696	1	0	19185
+0.694278	0.0986696	1	0	19185
+0.694278	0.0986696	1	0	19185
+0.694278	0.0986696	1	0	19185
+1	0	1	0	8543.48
+1	0	1	0	8543.5
+0.999999	0	1	0	8543.47
+1	1.49012e-08	1	0	8543.48
+1	-1.49012e-08	1	0	8543.48
+1	0	1	0	8543.5
+1	0	1	0	8543.47
+1	0	1	0	8543.48
+1	0	1	0	8543.49
+1	0	1	0	8543.48
+1	0	1	0	8543.48
+1	0	1	0	8543.5
+0.999999	0	1	0	8543.47
+1	1.49012e-08	1	0	8543.48
+1	-1.49012e-08	1	0	8543.48
+1	0	1	0	8543.5
+1	0	1	0	8543.47
+1	0	1	0	8543.48
+1	0	1	0	8543.49
+0.779892	0	1	0	3057.56
+0.779893	0	1	0	3057.55
+0.779892	0	1	0	3057.56
+0.779892	1.49012e-08	1	0	3057.56
+0.779892	-1.49012e-08	1	0	3057.56
+0.779892	0	1	0	3057.56
+0.779892	0	1	0	3057.55
+0.779892	0	1	0	3057.55
+0.779892	0	1	0	3057.56
+0.779892	0	1	0	3057.56
+0.779892	0	1	0	3057.56
+0.779893	0	1	0	3057.55
+0.779892	0	1	0	3057.56
+0.779892	1.49012e-08	1	0	3057.56
+0.779892	-1.49012e-08	1	0	3057.56
+0.779892	0	1	0	3057.56
+0.779892	0	1	0	3057.55
+0.779892	0	1	0	3057.55
+0.779892	0	1	0	3057.56
+1	0	1	0	1838.66
+1	0	1	0	1838.66
+0.999999	0	1	0	1838.65
+1	1.49012e-08	1	0	1838.66
+1	-1.49012e-08	1	0	1838.66
+1	0	1	0	1838.66
+1	0	1	0	1838.65
+1	0	1	0	1838.65
+1	0	1	0	1838.66
+1	0	1	0	1838.66
+1	0	1	0	1838.66
+1	0	1	0	1838.66
+0.999999	0	1	0	1838.65
+1	1.49012e-08	1	0	1838.66
+1	-1.49012e-08	1	0	1838.66
+1	0	1	0	1838.66
+1	0	1	0	1838.65
+1	0	1	0	1838.65
+1	0	1	0	1838.66
+0.874051	0	1	0	1138.07
+0.874052	0	1	0	1138.07
+0.87405	0	1	0	1138.07
+0.874051	1.49012e-08	1	0	1138.07
+0.874051	-1.49012e-08	1	0	1138.07
+0.874051	0	1	0	1138.07
+0.874051	0	1	0	1138.07
+0.874051	0	1	0	1138.07
+0.874051	0	1	0	1138.07
+0.874051	0	1	0	1138.07
+0.874051	0	1	0	1138.07
+0.874052	0	1	0	1138.07
+0.87405	0	1	0	1138.07
+0.874051	1.49012e-08	1	0	1138.07
+0.874051	-1.49012e-08	1	0	1138.07
+0.874051	0	1	0	1138.07
+0.874051	0	1	0	1138.07
+0.874051	0	1	0	1138.07
+0.874051	0	1	0	1138.07
+1	0	1	0	5919.69
+1	0	1	0	5919.68
+0.999999	0	1	0	5919.69
+1	1.49012e-08	1	0	5919.69
+1	-1.49012e-08	1	0	5919.69
+1	0	1	0	5919.68
+1	0	1	0	5919.69
+1	0	1	0	5919.69
+1	0	1	0	5919.69
+0.879178	0	1	0	1120.24
+0.879179	0	1	0	1120.24
+0.879178	0	1	0	1120.24
+0.879178	1.49012e-08	1	0	1120.24
+0.879178	-1.49012e-08	1	0	1120.24
+0.879178	0	1	0	1120.24
+0.879178	0	1	0	1120.24
+0.879178	0	1	0	1120.24
+0.879178	0	1	0	1120.24
+0.879178	0	1	0	1120.24
+0.879178	0	1	0	1120.24
+0.879179	0	1	0	1120.24
+0.879178	0	1	0	1120.24
+0.879178	1.49012e-08	1	0	1120.24
+0.879178	-1.49012e-08	1	0	1120.24
+0.879178	0	1	0	1120.24
+0.879178	0	1	0	1120.24
+0.879178	0	1	0	1120.24
+0.879178	0	1	0	1120.24
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.999999	0	1	0	32398.9
+1	1.49012e-08	1	0	32398.9
+1	-1.49012e-08	1	0	32398.9
+1	0	1	0	6912.32
+1	0	1	0	6912.32
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.879418	0	1	0	1119.66
+0.879419	0	1	0	1119.66
+0.879417	0	1	0	1119.67
+0.879418	1.49012e-08	1	0	1119.66
+0.879418	-1.49012e-08	1	0	1119.66
+0.879418	0	1	0	1119.66
+0.879418	0	1	0	1119.66
+0.879418	0	1	0	1119.66
+0.879418	0	1	0	1119.66
+0.879418	0	1	0	1119.66
+0.879418	0	1	0	1119.66
+0.879419	0	1	0	1119.66
+0.879417	0	1	0	1119.67
+0.879418	1.49012e-08	1	0	1119.66
+0.879418	-1.49012e-08	1	0	1119.66
+0.879418	0	1	0	1119.66
+0.879418	0	1	0	1119.66
+0.879418	0	1	0	1119.66
+0.879418	0	1	0	1119.66
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.999999	0	1	0	32398.9
+1	1.49012e-08	1	0	32398.9
+1	-1.49012e-08	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.879597	0	1	0	1119.34
+0.879598	0	1	0	1119.34
+0.879596	0	1	0	1119.34
+0.879597	1.49012e-08	1	0	1119.34
+0.879597	-1.49012e-08	1	0	1119.34
+0.879597	0	1	0	1119.34
+0.879597	0	1	0	1119.34
+0.879597	0	1	0	1119.34
+0.879597	0	1	0	1119.34
+0.879597	0	1	0	1119.34
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.999999	0	1	0	32398.9
+1	1.49012e-08	1	0	32398.9
+1	-1.49012e-08	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.879597	0	1	0	1119.34
+0.879598	0	1	0	1119.34
+0.879596	0	1	0	1119.34
+0.879597	1.49012e-08	1	0	1119.34
+0.879597	-1.49012e-08	1	0	1119.34
+0.879597	0	1	0	1119.34
+0.879597	0	1	0	1119.34
+0.879597	0	1	0	1119.34
+0.879597	0	1	0	1119.34
+0.879597	0	1	0	1119.34
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.999999	0	1	0	32398.9
+1	1.49012e-08	1	0	32398.9
+1	-1.49012e-08	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.879597	0	1	0	1119.34
+0.879598	0	1	0	1119.34
+0.879596	0	1	0	1119.34
+0.879597	1.49012e-08	1	0	1119.34
+0.879597	-1.49012e-08	1	0	1119.34
+0.879597	0	1	0	1119.34
+0.879597	0	1	0	1119.34
+0.879597	0	1	0	1119.34
+0.879597	0	1	0	1119.34
+0.879597	0	1	0	1119.34
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.999999	0	1	0	32398.9
+1	1.49012e-08	1	0	32398.9
+1	-1.49012e-08	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.879596	0	1	0	1119.34
+0.879597	0	1	0	1119.34
+0.879596	0	1	0	1119.34
+0.879596	1.49012e-08	1	0	1119.34
+0.879596	-1.49012e-08	1	0	1119.34
+0.879596	0	1	0	1119.34
+0.879596	0	1	0	1119.34
+0.879596	0	1	0	1119.34
+0.879596	0	1	0	1119.34
+0.879596	0	1	0	1119.34
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.999999	0	1	0	32398.9
+1	1.49012e-08	1	0	32398.9
+1	-1.49012e-08	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+1	0	1	0	32398.9
+0.879588	0	1	0	1119.35
+0.879589	0	1	0	1119.35
+0.879587	0	1	0	1119.36
+0.879588	1.49012e-08	1	0	1119.35
+0.879588	-1.49012e-08	1	0	1119.35
+0.879588	0	1	0	1119.35
+0.879588	0	1	0	1119.35
+0.879588	0	1	0	1119.35
+0.879588	0	1	0	1119.35
+0.879588	0	1	0	1119.35
+0.944198	0	1	0	32398.9
+0.944199	0	1	0	32398.9
+0.944197	0	1	0	32398.9
+0.944198	1.49012e-08	1	0	32398.9
+0.944198	-1.49012e-08	1	0	32398.9
+0.944198	0	1	0	32398.9
+0.944198	0	1	0	32398.9
+0.944198	0	1	0	32398.9
+0.944198	0	1	0	32398.9
+0.879483	0	1	0	1119.54
+0.879484	0	1	0	1119.54
+0.879482	0	1	0	1119.55
+0.879483	1.49012e-08	1	0	1119.54
+0.879483	-1.49012e-08	1	0	1119.54
+0.879483	0	1	0	1119.54
+0.879483	0	1	0	1119.54
+0.879483	0	1	0	1119.54
+0.879483	0	1	0	1119.54
+0.879483	0	1	0	1119.54
+0.88099	0	1	0	1116.89
+0.880991	0	1	0	1116.89
+0.880989	0	1	0	1116.9
+0.88099	1.49012e-08	1	0	1116.89
+0.88099	-1.49012e-08	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.880991	0	1	0	1116.89
+0.880989	0	1	0	1116.9
+0.88099	1.49012e-08	1	0	1116.89
+0.88099	-1.49012e-08	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.882477	0	1	0	1186.98
+0.882478	0	1	0	1186.98
+0.882476	0	1	0	1186.98
+0.882477	1.49012e-08	1	0	1186.98
+0.882477	-1.49012e-08	1	0	1186.98
+0.882477	0	1	0	1186.98
+0.882477	0	1	0	1186.98
+0.882477	0	1	0	1186.98
+0.882477	0	1	0	1186.98
+0.88106	0	1	0	1117.11
+0.88106	0	1	0	1117.11
+0.881059	0	1	0	1117.11
+0.88106	1.49012e-08	1	0	1117.11
+0.88106	-1.49012e-08	1	0	1117.11
+0.88106	0	1	0	1117.11
+0.88106	0	1	0	1117.11
+0.88106	0	1	0	1117.11
+0.88106	0	1	0	1117.11
+0.880998	0	1	0	1116.9
+0.880999	0	1	0	1116.9
+0.880997	0	1	0	1116.91
+0.880998	1.49012e-08	1	0	1116.9
+0.880998	-1.49012e-08	1	0	1116.9
+0.880998	0	1	0	1116.91
+0.880998	0	1	0	1116.91
+0.880998	0	1	0	1116.91
+0.880998	0	1	0	1116.91
+0.880992	0	1	0	1116.89
+0.880993	0	1	0	1116.89
+0.880991	0	1	0	1116.89
+0.880992	1.49012e-08	1	0	1116.89
+0.880992	-1.49012e-08	1	0	1116.89
+0.880992	0	1	0	1116.89
+0.880992	0	1	0	1116.89
+0.880992	0	1	0	1116.89
+0.880992	0	1	0	1116.89
+0.880992	0	1	0	1116.89
+0.881737	0	1	0	1134.18
+0.881737	0	1	0	1134.18
+0.881736	0	1	0	1134.18
+0.881737	1.49012e-08	1	0	1134.18
+0.881737	-1.49012e-08	1	0	1134.18
+0.881737	0	1	0	1134.18
+0.881737	0	1	0	1134.18
+0.881737	0	1	0	1134.18
+0.881737	0	1	0	1134.18
+0.881047	0	1	0	1117.04
+0.881048	0	1	0	1117.04
+0.881046	0	1	0	1117.04
+0.881047	1.49012e-08	1	0	1117.04
+0.881047	-1.49012e-08	1	0	1117.04
+0.881047	0	1	0	1117.04
+0.881047	0	1	0	1117.04
+0.881047	0	1	0	1117.04
+0.881047	0	1	0	1117.04
+0.881017	0	1	0	1116.93
+0.881018	0	1	0	1116.93
+0.881016	0	1	0	1116.93
+0.881017	1.49012e-08	1	0	1116.93
+0.881017	-1.49012e-08	1	0	1116.93
+0.881017	0	1	0	1116.93
+0.881017	0	1	0	1116.93
+0.881017	0	1	0	1116.93
+0.881017	0	1	0	1116.93
+0.880993	0	1	0	1116.9
+0.880994	0	1	0	1116.9
+0.880993	0	1	0	1116.9
+0.880993	1.49012e-08	1	0	1116.9
+0.880993	-1.49012e-08	1	0	1116.9
+0.880993	0	1	0	1116.9
+0.880993	0	1	0	1116.9
+0.880993	0	1	0	1116.9
+0.880993	0	1	0	1116.9
+0.880991	0	1	0	1116.89
+0.880992	0	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.880991	1.49012e-08	1	0	1116.89
+0.880991	-1.49012e-08	1	0	1116.89
+0.880991	0	1	0	1116.89
+0.880991	0	1	0	1116.89
+0.880991	0	1	0	1116.89
+0.880991	0	1	0	1116.89
+0.880991	0	1	0	1116.89
+0.881177	0	1	0	1118.14
+0.881178	0	1	0	1118.14
+0.881176	0	1	0	1118.14
+0.881177	1.49012e-08	1	0	1118.14
+0.881177	-1.49012e-08	1	0	1118.14
+0.881177	0	1	0	1118.14
+0.881177	0	1	0	1118.14
+0.881177	0	1	0	1118.14
+0.881177	0	1	0	1118.14
+0.881007	0	1	0	1116.91
+0.881008	0	1	0	1116.91
+0.881006	0	1	0	1116.92
+0.881007	1.49012e-08	1	0	1116.91
+0.881007	-1.49012e-08	1	0	1116.91
+0.881007	0	1	0	1116.91
+0.881007	0	1	0	1116.91
+0.881007	0	1	0	1116.91
+0.881007	0	1	0	1116.91
+0.880999	0	1	0	1116.91
+0.881	0	1	0	1116.9
+0.880998	0	1	0	1116.91
+0.880999	1.49012e-08	1	0	1116.91
+0.880999	-1.49012e-08	1	0	1116.91
+0.880999	0	1	0	1116.91
+0.880999	0	1	0	1116.9
+0.880999	0	1	0	1116.9
+0.880999	0	1	0	1116.91
+0.880995	0	1	0	1116.9
+0.880996	0	1	0	1116.9
+0.880994	0	1	0	1116.9
+0.880995	1.49012e-08	1	0	1116.9
+0.880995	-1.49012e-08	1	0	1116.9
+0.880995	0	1	0	1116.9
+0.880995	0	1	0	1116.9
+0.880995	0	1	0	1116.9
+0.880995	0	1	0	1116.9
+0.880992	0	1	0	1116.9
+0.880993	0	1	0	1116.89
+0.880992	0	1	0	1116.9
+0.880992	1.49012e-08	1	0	1116.9
+0.880992	-1.49012e-08	1	0	1116.9
+0.880992	0	1	0	1116.9
+0.880992	0	1	0	1116.9
+0.880992	0	1	0	1116.9
+0.880992	0	1	0	1116.9
+0.88099	0	1	0	1116.89
+0.880991	0	1	0	1116.89
+0.880989	0	1	0	1116.9
+0.88099	1.49012e-08	1	0	1116.89
+0.88099	-1.49012e-08	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.88099	0	1	0	1116.89
+0.88099	0	1	0	1116.89
diff --git a/shirt6 0.5 0.5 0.5 0.5.txt b/shirt6 0.5 0.5 0.5 0.5.txt
index bb98c226e6c6d88f1d7b2f9ecdc00e840619e71c..c75ff1248f44b927519a194ccf446f408384c42b 100644
--- a/shirt6 0.5 0.5 0.5 0.5.txt	
+++ b/shirt6 0.5 0.5 0.5 0.5.txt	
@@ -1,381 +1,331 @@
 Roughness	Metallic	Light Distance	Light Intensity	Resiudal
-0.5	0.5	1	0	628.141
-0.5	0.5	1	0	628.141
-0.499999	0.5	1	0	628.142
-0.5	0.5	1	0	628.141
-0.5	0.499999	1	0	628.141
-0.5	0.5	1	0	628.141
-0.5	0.5	1	0	628.141
-0.5	0.5	1	0	628.141
-0.5	0.5	1	0	628.141
-0.648475	1	1	0	1129.23
-0.648475	1	1	0	1129.23
-0.648474	1	1	0	1129.23
-0.648475	1	1	0	1129.23
-0.648475	0.999999	1	0	1129.23
-0.648475	1	1	0	1129.23
-0.648475	1	1	0	1129.23
-0.648475	1	1	0	1129.23
-0.648475	1	1	0	1129.23
-0.515313	0.624432	1	0	626.833
-0.515314	0.624432	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.515313	0.624431	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.515314	0.624432	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.515313	0.624431	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.515313	0.624432	1	0	626.833
-0.703842	0	1	0	1129.23
-0.703842	0	1	0	1129.23
-0.703841	0	1	0	1129.23
-0.703842	1.49012e-08	1	0	1129.23
-0.703842	-1.49012e-08	1	0	1129.23
-0.703842	0	1	0	45148.9
-0.703842	0	1	0	45148.9
-0.703842	0	1	0	1129.23
-0.703842	0	1	0	1129.23
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.908
-0.534676	0.481852	1	0	603.91
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.908
-0.534676	0.481852	1	0	603.91
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.909
-0.534677	0.481852	1	0	603.909
-0.646379	1	1	0	1129.23
-0.646379	1	1	0	1129.23
-0.646378	1	1	0	1129.23
-0.646379	1	1	0	1129.23
-0.646379	0.999999	1	0	1129.23
-0.646379	1	1	0	1129.23
-0.646379	1	1	0	1129.23
-0.646379	1	1	0	1129.23
-0.646379	1	1	0	1129.23
-0.545325	0.59191	1	0	574.181
-0.545326	0.59191	1	0	574.181
-0.545325	0.59191	1	0	574.182
-0.545325	0.59191	1	0	574.181
-0.545325	0.591909	1	0	574.181
-0.545325	0.59191	1	0	574.181
-0.545325	0.59191	1	0	574.181
-0.545325	0.59191	1	0	574.181
-0.545325	0.59191	1	0	574.181
-0.545325	0.59191	1	0	574.181
-0.545325	0.59191	1	0	574.181
-0.545326	0.59191	1	0	574.181
-0.545325	0.59191	1	0	574.182
-0.545325	0.59191	1	0	574.181
-0.545325	0.591909	1	0	574.181
-0.545325	0.59191	1	0	574.181
-0.545325	0.59191	1	0	574.181
-0.545325	0.59191	1	0	574.181
-0.545325	0.59191	1	0	574.181
-0.682162	0	1	0	1129.23
-0.682162	0	1	0	1129.23
-0.682161	0	1	0	1129.23
-0.682162	1.49012e-08	1	0	1129.23
-0.682162	-1.49012e-08	1	0	1129.23
-0.682162	0	1	0	45148.9
-0.682162	0	1	0	45148.9
-0.682162	0	1	0	1129.23
-0.682162	0	1	0	1129.23
-0.557117	0.300628	1	0	1116.98
-0.557117	0.300628	1	0	1116.98
-0.557116	0.300628	1	0	1116.98
-0.557117	0.300628	1	0	1116.98
-0.557117	0.300628	1	0	1116.98
-0.557117	0.300628	1	0	1116.98
-0.557117	0.300628	1	0	1116.98
-0.557117	0.300628	1	0	1116.98
-0.557117	0.300628	1	0	1116.98
-0.549793	0.481538	1	0	601.834
-0.549794	0.481538	1	0	601.833
-0.549793	0.481538	1	0	601.834
-0.549793	0.481538	1	0	601.834
-0.549793	0.481537	1	0	601.834
-0.549793	0.481538	1	0	601.833
-0.549793	0.481538	1	0	601.834
-0.549793	0.481538	1	0	601.834
-0.549793	0.481538	1	0	601.833
-0.545652	0.583834	1	0	572.179
-0.545653	0.583834	1	0	572.178
-0.545651	0.583834	1	0	572.18
-0.545652	0.583835	1	0	572.179
-0.545652	0.583834	1	0	572.179
-0.545652	0.583834	1	0	572.179
-0.545652	0.583834	1	0	572.179
-0.545652	0.583834	1	0	572.179
-0.545652	0.583834	1	0	572.179
-0.545652	0.583834	1	0	572.179
-0.545652	0.583834	1	0	572.179
-0.545653	0.583834	1	0	572.178
-0.545651	0.583834	1	0	572.18
-0.545652	0.583835	1	0	572.179
-0.545652	0.583834	1	0	572.179
-0.545652	0.583834	1	0	572.179
-0.545652	0.583834	1	0	572.179
-0.545652	0.583834	1	0	572.179
-0.545652	0.583834	1	0	572.179
-0.680874	0	1	0	667.393
-0.680875	0	1	0	667.393
-0.680873	0	1	0	667.393
-0.680874	1.49012e-08	1	0	667.393
-0.680874	-1.49012e-08	1	0	667.393
-0.680874	0	1	0	667.393
-0.680874	0	1	0	667.392
-0.680874	0	1	0	667.393
-0.680874	0	1	0	667.393
-0.584358	0	1	0	553.849
-0.584359	0	1	0	553.849
-0.584358	0	1	0	553.849
-0.584358	1.49012e-08	1	0	553.849
-0.584358	-1.49012e-08	1	0	553.849
-0.584358	0	1	0	553.849
-0.584358	0	1	0	553.849
-0.584358	0	1	0	553.849
-0.584358	0	1	0	553.849
-0.584358	0	1	0	553.849
-0.584358	0	1	0	553.849
-0.584359	0	1	0	553.849
-0.584358	0	1	0	553.849
-0.584358	1.49012e-08	1	0	553.849
-0.584358	-1.49012e-08	1	0	553.849
-0.584358	0	1	0	553.849
-0.584358	0	1	0	553.849
-0.584358	0	1	0	553.849
-0.584358	0	1	0	553.849
-0.970788	0	1	0	1129.23
-0.970789	0	1	0	1129.23
-0.970787	0	1	0	1129.23
-0.970788	1.49012e-08	1	0	1129.23
-0.970788	-1.49012e-08	1	0	1129.23
-0.970788	0	1	0	45148.9
-0.970788	0	1	0	45148.9
-0.970788	0	1	0	1129.23
-0.970788	0	1	0	1129.23
-0.615332	0	1	0	494.514
-0.615332	0	1	0	494.514
-0.615331	0	1	0	494.515
-0.615332	1.49012e-08	1	0	494.514
-0.615332	-1.49012e-08	1	0	494.514
-0.615332	0	1	0	494.515
-0.615332	0	1	0	494.514
-0.615332	0	1	0	494.514
-0.615332	0	1	0	494.515
-0.615332	0	1	0	494.514
-0.615332	0	1	0	494.514
-0.615332	0	1	0	494.514
-0.615331	0	1	0	494.515
-0.615332	1.49012e-08	1	0	494.514
-0.615332	-1.49012e-08	1	0	494.514
-0.615332	0	1	0	494.515
-0.615332	0	1	0	494.514
-0.615332	0	1	0	494.514
-0.615332	0	1	0	494.515
-0.82796	0	1	0	1129.23
-0.82796	0	1	0	1129.23
-0.827959	0	1	0	1129.23
-0.82796	1.49012e-08	1	0	1129.23
-0.82796	-1.49012e-08	1	0	1129.23
-0.82796	0	1	0	45148.9
-0.82796	0	1	0	45148.9
-0.82796	0	1	0	1129.23
-0.82796	0	1	0	1129.23
-0.628917	0	1	0	486.208
-0.628917	0	1	0	486.207
-0.628916	0	1	0	486.209
-0.628917	1.49012e-08	1	0	486.208
-0.628917	-1.49012e-08	1	0	486.208
-0.628917	0	1	0	486.208
-0.628917	0	1	0	486.208
-0.628917	0	1	0	486.208
-0.628917	0	1	0	486.208
-0.628917	0	1	0	486.208
-0.628917	0	1	0	486.208
-0.628917	0	1	0	486.207
-0.628916	0	1	0	486.209
-0.628917	1.49012e-08	1	0	486.208
-0.628917	-1.49012e-08	1	0	486.208
-0.628917	0	1	0	486.208
-0.628917	0	1	0	486.208
-0.628917	0	1	0	486.208
-0.628917	0	1	0	486.208
-0.77084	0	1	0	1129.23
-0.770841	0	1	0	1129.23
-0.77084	0	1	0	1129.23
-0.77084	1.49012e-08	1	0	1129.23
-0.77084	-1.49012e-08	1	0	1129.23
-0.77084	0	1	0	1129.23
-0.77084	0	1	0	1129.23
-0.77084	0	1	0	1129.23
-0.77084	0	1	0	1129.23
-0.637679	0	1	0	1129.23
-0.637679	0	1	0	1129.23
-0.637678	0	1	0	1129.23
-0.637679	1.49012e-08	1	0	1129.23
-0.637679	-1.49012e-08	1	0	1129.23
-0.637679	0	1	0	1129.23
-0.637679	0	1	0	1129.23
-0.637679	0	1	0	1129.23
-0.637679	0	1	0	1129.23
-0.628954	0	1	0	484.85
-0.628955	0	1	0	484.849
-0.628953	0	1	0	484.851
-0.628954	1.49012e-08	1	0	484.85
-0.628954	-1.49012e-08	1	0	484.85
-0.628954	0	1	0	484.85
-0.628954	0	1	0	484.85
-0.628954	0	1	0	484.85
-0.628954	0	1	0	484.85
-0.628954	0	1	0	484.85
-0.628954	0	1	0	484.85
-0.628955	0	1	0	484.849
-0.628953	0	1	0	484.851
-0.628954	1.49012e-08	1	0	484.85
-0.628954	-1.49012e-08	1	0	484.85
-0.628954	0	1	0	484.85
-0.628954	0	1	0	484.85
-0.628954	0	1	0	484.85
-0.628954	0	1	0	484.85
-0.752702	0	1	0	1129.23
-0.752703	0	1	0	1129.23
-0.752701	0	1	0	1129.23
-0.752702	1.49012e-08	1	0	1129.23
-0.752702	-1.49012e-08	1	0	1129.23
-0.752702	0	1	0	1129.23
-0.752702	0	1	0	1129.23
-0.752702	0	1	0	1129.23
-0.752702	0	1	0	1129.23
-0.636544	0	1	0	487.6
-0.636545	0	1	0	487.6
-0.636544	0	1	0	487.601
-0.636544	1.49012e-08	1	0	487.6
-0.636544	-1.49012e-08	1	0	487.6
-0.636544	0	1	0	487.601
-0.636544	0	1	0	487.6
-0.636544	0	1	0	487.6
-0.636544	0	1	0	487.601
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.562
-0.633164	0	1	0	475.563
-0.633165	1.49012e-08	1	0	475.563
-0.633165	-1.49012e-08	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.562
-0.633164	0	1	0	475.563
-0.633165	1.49012e-08	1	0	475.563
-0.633165	-1.49012e-08	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.563
-0.843459	0	1	0	1129.23
-0.84346	0	1	0	1129.23
-0.843458	0	1	0	1129.23
-0.843459	1.49012e-08	1	0	1129.23
-0.843459	-1.49012e-08	1	0	1129.23
-0.843459	0	1	0	1129.23
-0.843459	0	1	0	1129.23
-0.843459	0	1	0	1129.23
-0.843459	0	1	0	1129.23
-0.645555	0	1	0	503.806
-0.645555	0	1	0	503.806
-0.645554	0	1	0	503.807
-0.645555	1.49012e-08	1	0	503.806
-0.645555	-1.49012e-08	1	0	503.806
-0.645555	0	1	0	503.807
-0.645555	0	1	0	503.806
-0.645555	0	1	0	503.806
-0.645555	0	1	0	503.806
-0.635413	0	1	0	476.855
-0.635414	0	1	0	476.855
-0.635413	0	1	0	476.856
-0.635413	1.49012e-08	1	0	476.855
-0.635413	-1.49012e-08	1	0	476.855
-0.635413	0	1	0	476.855
-0.635413	0	1	0	476.855
-0.635413	0	1	0	476.855
-0.635413	0	1	0	476.855
-0.633848	0	1	0	475.749
-0.633849	0	1	0	475.749
-0.633847	0	1	0	475.75
-0.633848	1.49012e-08	1	0	475.749
-0.633848	-1.49012e-08	1	0	475.749
-0.633848	0	1	0	475.749
-0.633848	0	1	0	475.749
-0.633848	0	1	0	475.749
-0.633848	0	1	0	475.749
-0.633352	0	1	0	475.59
-0.633353	0	1	0	475.589
-0.633352	0	1	0	475.59
-0.633352	1.49012e-08	1	0	475.59
-0.633352	-1.49012e-08	1	0	475.59
-0.633352	0	1	0	475.59
-0.633352	0	1	0	475.59
-0.633352	0	1	0	475.59
-0.633352	0	1	0	475.59
-0.633211	0	1	0	475.566
-0.633211	0	1	0	475.566
-0.63321	0	1	0	475.567
-0.633211	1.49012e-08	1	0	475.566
-0.633211	-1.49012e-08	1	0	475.566
-0.633211	0	1	0	475.566
-0.633211	0	1	0	475.566
-0.633211	0	1	0	475.566
-0.633211	0	1	0	475.566
-0.633175	0	1	0	475.565
-0.633175	0	1	0	475.564
-0.633174	0	1	0	475.565
-0.633175	1.49012e-08	1	0	475.565
-0.633175	-1.49012e-08	1	0	475.565
-0.633175	0	1	0	475.565
-0.633175	0	1	0	475.565
-0.633175	0	1	0	475.565
-0.633175	0	1	0	475.565
-0.633167	0	1	0	475.563
-0.633168	0	1	0	475.562
-0.633167	0	1	0	475.563
-0.633167	1.49012e-08	1	0	475.563
-0.633167	-1.49012e-08	1	0	475.563
-0.633167	0	1	0	475.563
-0.633167	0	1	0	475.563
-0.633167	0	1	0	475.563
-0.633167	0	1	0	475.563
-0.633165	0	1	0	475.563
-0.633166	0	1	0	475.562
-0.633164	0	1	0	475.563
-0.633165	1.49012e-08	1	0	475.563
-0.633165	-1.49012e-08	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.563
-0.633165	0	1	0	475.563
+0.5	0.5	1	0	1035.47
+0.5	0.5	1	0	1035.47
+0.499999	0.5	1	0	1035.47
+0.5	0.5	1	0	1035.47
+0.5	0.499999	1	0	1035.47
+0.5	0.5	1	0	1035.47
+0.5	0.5	1	0	1035.47
+0.5	0.5	1	0	1035.47
+0.5	0.5	1	0	1035.47
+0	0	1	0	1129.23
+1.49012e-08	0	1	0	1129.23
+-1.49012e-08	0	1	0	1129.23
+0	1.49012e-08	1	0	1129.23
+0	-1.49012e-08	1	0	1129.23
+0	0	1	0	2730.25
+0	0	1	0	2730.25
+0	0	1	0	1129.23
+0	0	1	0	1129.23
+0	0.100373	1	0	1124.09
+1.49012e-08	0.100373	1	0	1124.09
+-1.49012e-08	0.100373	1	0	1124.09
+0	0.100373	1	0	1124.09
+0	0.100373	1	0	1124.09
+0	0.100373	1	0	1124.09
+0	0.100373	1	0	1124.09
+0	0.100373	1	0	1124.09
+0	0.100373	1	0	1124.09
+0.381341	0.435623	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.38134	0.435623	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.381341	0.435622	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.38134	0.435623	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.381341	0.435622	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.381341	0.435623	1	0	1023.9
+0.977675	0	1	0	1129.23
+0.977676	0	1	0	1129.23
+0.977674	0	1	0	1129.23
+0.977675	1.49012e-08	1	0	1129.23
+0.977675	-1.49012e-08	1	0	1129.23
+0.977675	0	1	0	45148.9
+0.977675	0	1	0	45148.9
+0.977675	0	1	0	1129.23
+0.977675	0	1	0	1129.23
+0.544763	0	1	0	6981.5
+0.544764	0	1	0	6981.49
+0.544763	0	1	0	6981.5
+0.544763	1.49012e-08	1	0	6981.5
+0.544763	-1.49012e-08	1	0	6981.5
+0.544763	0	1	0	6981.49
+0.544763	0	1	0	6981.51
+0.544763	0	1	0	6981.5
+0.544763	0	1	0	6981.49
+0.471619	0	1	0	1393.63
+0.47162	0	1	0	1393.62
+0.471619	0	1	0	1393.63
+0.471619	1.49012e-08	1	0	1393.63
+0.471619	-1.49012e-08	1	0	1393.63
+0.471619	0	1	0	1393.62
+0.471619	0	1	0	1393.63
+0.471619	0	1	0	1393.63
+0.471619	0	1	0	1393.63
+0.420119	0.179657	1	0	998.798
+0.420119	0.179657	1	0	998.797
+0.420119	0.179657	1	0	998.799
+0.420119	0.179658	1	0	998.798
+0.420119	0.179657	1	0	998.798
+0.420119	0.179657	1	0	998.797
+0.420119	0.179657	1	0	998.798
+0.420119	0.179657	1	0	998.798
+0.420119	0.179657	1	0	998.798
+0.420119	0.179657	1	0	998.798
+0.420119	0.179657	1	0	998.798
+0.420119	0.179657	1	0	998.797
+0.420119	0.179657	1	0	998.799
+0.420119	0.179658	1	0	998.798
+0.420119	0.179657	1	0	998.798
+0.420119	0.179657	1	0	998.797
+0.420119	0.179657	1	0	998.798
+0.420119	0.179657	1	0	998.798
+0.420119	0.179657	1	0	998.798
+0.55475	1	1	0	1129.23
+0.554751	1	1	0	1129.23
+0.55475	1	1	0	1129.23
+0.55475	1	1	0	1129.23
+0.55475	0.999999	1	0	1129.23
+0.55475	1	1	0	1129.23
+0.55475	1	1	0	1129.23
+0.55475	1	1	0	1129.23
+0.55475	1	1	0	1129.23
+0.455227	0.47933	1	0	1011.77
+0.455227	0.47933	1	0	1011.77
+0.455227	0.47933	1	0	1011.77
+0.455227	0.479331	1	0	1011.77
+0.455227	0.47933	1	0	1011.77
+0.455227	0.47933	1	0	1011.77
+0.455227	0.47933	1	0	1011.77
+0.455227	0.47933	1	0	1011.77
+0.455227	0.47933	1	0	1011.77
+0.434011	0.298237	1	0	963.337
+0.434012	0.298237	1	0	963.337
+0.434011	0.298237	1	0	963.338
+0.434011	0.298238	1	0	963.337
+0.434011	0.298237	1	0	963.337
+0.434011	0.298237	1	0	963.337
+0.434011	0.298237	1	0	963.337
+0.434011	0.298237	1	0	963.337
+0.434011	0.298237	1	0	963.337
+0.434011	0.298237	1	0	963.337
+0.434011	0.298237	1	0	963.337
+0.434012	0.298237	1	0	963.337
+0.434011	0.298237	1	0	963.338
+0.434011	0.298238	1	0	963.337
+0.434011	0.298237	1	0	963.337
+0.434011	0.298237	1	0	963.337
+0.434011	0.298237	1	0	963.337
+0.434011	0.298237	1	0	963.337
+0.434011	0.298237	1	0	963.337
+0.756582	0	1	0	1129.23
+0.756583	0	1	0	1129.23
+0.756582	0	1	0	1129.23
+0.756582	1.49012e-08	1	0	1129.23
+0.756582	-1.49012e-08	1	0	1129.23
+0.756582	0	1	0	45148.9
+0.756582	0	1	0	45148.9
+0.756582	0	1	0	1129.23
+0.756582	0	1	0	1129.23
+0.51226	0	1	0	1129.23
+0.512261	0	1	0	1129.23
+0.51226	0	1	0	1129.23
+0.51226	1.49012e-08	1	0	1129.23
+0.51226	-1.49012e-08	1	0	1129.23
+0.51226	0	1	0	45148.9
+0.51226	0	1	0	45148.9
+0.51226	0	1	0	1129.23
+0.51226	0	1	0	1129.23
+0.442028	0	1	0	1052.5
+0.442028	0	1	0	1052.5
+0.442027	0	1	0	1052.5
+0.442028	1.49012e-08	1	0	1052.5
+0.442028	-1.49012e-08	1	0	1052.5
+0.442028	0	1	0	1052.5
+0.442028	0	1	0	1052.5
+0.442028	0	1	0	1052.5
+0.442028	0	1	0	1052.5
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.434949	0.242609	1	0	959.754
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.434949	0.242609	1	0	959.754
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.64626	1	1	0	1096.46
+0.646261	1	1	0	1096.46
+0.646259	1	1	0	1096.46
+0.64626	1	1	0	1096.46
+0.64626	0.999999	1	0	1096.46
+0.64626	1	1	0	1096.46
+0.64626	1	1	0	1096.46
+0.64626	1	1	0	1096.46
+0.64626	1	1	0	1096.46
+0.561736	1	1	0	1080.9
+0.561736	1	1	0	1080.9
+0.561735	1	1	0	1080.9
+0.561736	1	1	0	1080.9
+0.561736	0.999999	1	0	1080.9
+0.561736	1	1	0	1080.9
+0.561736	1	1	0	1080.9
+0.561736	1	1	0	1080.9
+0.561736	1	1	0	1080.9
+0.498941	1	1	0	1072.35
+0.498942	1	1	0	1072.35
+0.498941	1	1	0	1072.35
+0.498941	1	1	0	1072.35
+0.498941	0.999999	1	0	1072.35
+0.498941	1	1	0	1072.35
+0.498941	1	1	0	1072.35
+0.498941	1	1	0	1072.35
+0.498941	1	1	0	1072.35
+0.46956	1	1	0	1074.86
+0.469561	1	1	0	1074.86
+0.46956	1	1	0	1074.86
+0.46956	1	1	0	1074.86
+0.46956	0.999999	1	0	1074.85
+0.46956	1	1	0	1074.86
+0.46956	1	1	0	1074.86
+0.46956	1	1	0	1074.86
+0.46956	1	1	0	1074.86
+0.45298	1	1	0	1078.87
+0.45298	1	1	0	1078.87
+0.452979	1	1	0	1078.87
+0.45298	1	1	0	1078.87
+0.45298	0.999999	1	0	1078.87
+0.45298	1	1	0	1078.87
+0.45298	1	1	0	1078.87
+0.45298	1	1	0	1078.87
+0.45298	1	1	0	1078.87
+0.444321	1	1	0	1081.8
+0.444322	1	1	0	1081.8
+0.444321	1	1	0	1081.8
+0.444321	1	1	0	1081.8
+0.444321	0.999999	1	0	1081.8
+0.444321	1	1	0	1081.8
+0.444321	1	1	0	1081.8
+0.444321	1	1	0	1081.8
+0.444321	1	1	0	1081.8
+0.439652	0.867889	1	0	1005.61
+0.439652	0.867889	1	0	1005.61
+0.439651	0.867889	1	0	1005.61
+0.439652	0.86789	1	0	1005.61
+0.439652	0.867888	1	0	1005.61
+0.439652	0.867889	1	0	1005.61
+0.439652	0.867889	1	0	1005.61
+0.439652	0.867889	1	0	1005.61
+0.439652	0.867889	1	0	1005.61
+0.437219	0.544426	1	0	963.972
+0.43722	0.544426	1	0	963.972
+0.437219	0.544426	1	0	963.973
+0.437219	0.544426	1	0	963.973
+0.437219	0.544425	1	0	963.973
+0.437219	0.544426	1	0	963.972
+0.437219	0.544426	1	0	963.973
+0.437219	0.544426	1	0	963.973
+0.437219	0.544426	1	0	963.973
+0.43553	0.319755	1	0	960.842
+0.43553	0.319755	1	0	960.842
+0.435529	0.319755	1	0	960.843
+0.43553	0.319756	1	0	960.842
+0.43553	0.319755	1	0	960.842
+0.43553	0.319755	1	0	960.842
+0.43553	0.319755	1	0	960.842
+0.43553	0.319755	1	0	960.842
+0.43553	0.319755	1	0	960.842
+0.435242	0.281436	1	0	960.149
+0.435242	0.281436	1	0	960.148
+0.435241	0.281436	1	0	960.149
+0.435242	0.281436	1	0	960.149
+0.435242	0.281435	1	0	960.149
+0.435242	0.281436	1	0	960.149
+0.435242	0.281436	1	0	960.149
+0.435242	0.281436	1	0	960.149
+0.435242	0.281436	1	0	960.149
+0.435094	0.261811	1	0	959.89
+0.435095	0.261811	1	0	959.89
+0.435094	0.261811	1	0	959.891
+0.435094	0.261811	1	0	959.89
+0.435094	0.261811	1	0	959.89
+0.435094	0.261811	1	0	959.89
+0.435094	0.261811	1	0	959.89
+0.435094	0.261811	1	0	959.89
+0.435094	0.261811	1	0	959.89
+0.434965	0.244594	1	0	959.761
+0.434965	0.244594	1	0	959.761
+0.434964	0.244594	1	0	959.761
+0.434965	0.244594	1	0	959.761
+0.434965	0.244593	1	0	959.761
+0.434965	0.244594	1	0	959.761
+0.434965	0.244594	1	0	959.761
+0.434965	0.244594	1	0	959.761
+0.434965	0.244594	1	0	959.761
+0.434951	0.242852	1	0	959.753
+0.434952	0.242852	1	0	959.753
+0.434951	0.242852	1	0	959.754
+0.434951	0.242852	1	0	959.753
+0.434951	0.242852	1	0	959.753
+0.434951	0.242852	1	0	959.753
+0.434951	0.242852	1	0	959.753
+0.434951	0.242852	1	0	959.753
+0.434951	0.242852	1	0	959.753
+0.43495	0.242638	1	0	959.753
+0.43495	0.242638	1	0	959.753
+0.434949	0.242638	1	0	959.754
+0.43495	0.242638	1	0	959.754
+0.43495	0.242638	1	0	959.754
+0.43495	0.242638	1	0	959.753
+0.43495	0.242638	1	0	959.753
+0.43495	0.242638	1	0	959.754
+0.43495	0.242638	1	0	959.754
+0.43495	0.24262	1	0	959.754
+0.43495	0.24262	1	0	959.753
+0.434949	0.24262	1	0	959.754
+0.43495	0.242621	1	0	959.754
+0.43495	0.24262	1	0	959.754
+0.43495	0.24262	1	0	959.754
+0.43495	0.24262	1	0	959.754
+0.43495	0.24262	1	0	959.754
+0.43495	0.24262	1	0	959.754
+0.43495	0.242611	1	0	959.754
+0.43495	0.242611	1	0	959.753
+0.434949	0.242611	1	0	959.754
+0.43495	0.242611	1	0	959.754
+0.43495	0.24261	1	0	959.754
+0.43495	0.242611	1	0	959.753
+0.43495	0.242611	1	0	959.754
+0.43495	0.242611	1	0	959.754
+0.43495	0.242611	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.434949	0.242609	1	0	959.754
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.754
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
+0.43495	0.242609	1	0	959.753
diff --git a/uniformAlbedo 0 0 0.5 0.5.txt b/uniformAlbedo 0 0 0.5 0.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2abaf6e4ad0bf54aed1672e1b4c5a4bb271a7cd
--- /dev/null
+++ b/uniformAlbedo 0 0 0.5 0.5.txt	
@@ -0,0 +1,11 @@
+Roughness	Metallic	Light Distance	Light Intensity	Resiudal
+0	0	1	0	671.993
+1.49012e-08	0	1	0	671.993
+-1.49012e-08	0	1	0	671.993
+0	1.49012e-08	1	0	671.993
+0	-1.49012e-08	1	0	671.993
+0	0	1	0	671.993
+0	0	1	0	671.993
+0	0	1	0	671.993
+0	0	1	0	671.993
+0	0	1	0	671.993
diff --git a/uniformAlbedo 0.5 0.5 0.5 0.5.txt b/uniformAlbedo 0.5 0.5 0.5 0.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed11ce198c5ee85d9966c5713ef422a2baf2759
--- /dev/null
+++ b/uniformAlbedo 0.5 0.5 0.5 0.5.txt	
@@ -0,0 +1,195 @@
+Roughness	Metallic	Light Distance	Light Intensity	Resiudal
+0.5	0.5	1	0	668.99
+0.5	0.5	1	0	668.989
+0.499999	0.5	1	0	668.991
+0.5	0.5	1	0	668.99
+0.5	0.499999	1	0	668.99
+0.753625	1	1	0	536.522
+0.753626	1	1	0	536.522
+0.753624	1	1	0	536.522
+0.753625	1	1	0	536.525
+0.753625	0.999999	1	0	536.518
+0.753625	1	1	0	536.522
+0.753625	1	1	0	536.522
+0.753626	1	1	0	536.522
+0.753624	1	1	0	536.522
+0.753625	1	1	0	536.525
+0.753625	0.999999	1	0	536.518
+1	0.917574	1	0	461.017
+1	0.917574	1	0	461.016
+0.999999	0.917574	1	0	461.016
+1	0.917575	1	0	461.017
+1	0.917573	1	0	461.016
+1	0.917574	1	0	461.017
+1	0.917574	1	0	461.017
+1	0.917574	1	0	461.016
+0.999999	0.917574	1	0	461.016
+1	0.917575	1	0	461.017
+1	0.917573	1	0	461.016
+0	0.469273	1	0	672.357
+1.49012e-08	0.469273	1	0	672.357
+-1.49012e-08	0.469273	1	0	672.357
+0	0.469274	1	0	672.357
+0	0.469273	1	0	672.357
+0	0.84732	1	0	672.401
+1.49012e-08	0.84732	1	0	672.401
+-1.49012e-08	0.84732	1	0	672.401
+0	0.847321	1	0	672.401
+0	0.847319	1	0	672.401
+0.965965	0.91522	1	0	458.525
+0.965966	0.91522	1	0	458.525
+0.965964	0.91522	1	0	458.525
+0.965965	0.915221	1	0	458.526
+0.965965	0.915219	1	0	458.525
+0.965965	0.91522	1	0	458.525
+0.965965	0.91522	1	0	458.525
+0.965966	0.91522	1	0	458.525
+0.965964	0.91522	1	0	458.525
+0.965965	0.915221	1	0	458.526
+0.965965	0.915219	1	0	458.525
+0	0.523112	1	0	672.399
+1.49012e-08	0.523112	1	0	672.399
+-1.49012e-08	0.523112	1	0	672.399
+0	0.523112	1	0	672.399
+0	0.523111	1	0	672.399
+0.369398	0.854444	1	0	649.461
+0.369398	0.854444	1	0	649.461
+0.369397	0.854444	1	0	649.461
+0.369398	0.854445	1	0	649.46
+0.369398	0.854443	1	0	649.461
+0.711778	0.889325	1	0	468.717
+0.711779	0.889325	1	0	468.717
+0.711778	0.889325	1	0	468.717
+0.711778	0.889325	1	0	468.717
+0.711778	0.889324	1	0	468.717
+0.871732	0.90562	1	0	454.303
+0.871732	0.90562	1	0	454.303
+0.871731	0.90562	1	0	454.304
+0.871732	0.905621	1	0	454.304
+0.871732	0.905619	1	0	454.303
+0.871732	0.90562	1	0	454.303
+0.871732	0.90562	1	0	454.303
+0.871732	0.90562	1	0	454.303
+0.871731	0.90562	1	0	454.304
+0.871732	0.905621	1	0	454.304
+0.871732	0.905619	1	0	454.303
+1	0.212799	1	0	400.275
+1	0.212799	1	0	400.275
+0.999999	0.212799	1	0	400.275
+1	0.212799	1	0	400.275
+1	0.212799	1	0	400.275
+1	0.212799	1	0	400.275
+1	0.212799	1	0	400.275
+1	0.212799	1	0	400.275
+0.999999	0.212799	1	0	400.275
+1	0.212799	1	0	400.275
+1	0.212799	1	0	400.275
+1	1	1	0	540.226
+1	1	1	0	540.226
+0.999999	1	1	0	540.226
+1	1	1	0	540.229
+1	0.999999	1	0	540.222
+1	1	1	0	540.226
+1	1	1	0	540.226
+0.999999	1	1	0	540.226
+1	1	1	0	540.229
+1	0.999999	1	0	540.222
+1	1	1	0	540.226
+1	1	1	0	540.226
+0.999999	1	1	0	540.226
+1	1	1	0	540.229
+1	0.999999	1	0	540.222
+1	0.864838	1	0	439.349
+1	0.864838	1	0	439.349
+0.999999	0.864838	1	0	439.349
+1	0.864839	1	0	439.349
+1	0.864837	1	0	439.349
+1	0.507733	1	0	393.286
+1	0.507733	1	0	393.286
+0.999999	0.507733	1	0	393.286
+1	0.507734	1	0	393.286
+1	0.507733	1	0	393.286
+1	0.507733	1	0	393.286
+1	0.507733	1	0	393.286
+1	0.507733	1	0	393.286
+0.999999	0.507733	1	0	393.286
+1	0.507734	1	0	393.286
+1	0.507733	1	0	393.286
+1	0	1	0	415.418
+1	0	1	0	415.418
+0.999999	0	1	0	415.418
+1	1.49012e-08	1	0	415.418
+1	-1.49012e-08	1	0	415.418
+1	0.314706	1	0	395.353
+1	0.314706	1	0	395.353
+0.999999	0.314706	1	0	395.353
+1	0.314707	1	0	395.353
+1	0.314706	1	0	395.353
+1	0.472752	1	0	392.797
+1	0.472752	1	0	392.797
+0.999999	0.472752	1	0	392.797
+1	0.472753	1	0	392.797
+1	0.472752	1	0	392.797
+1	0.472752	1	0	392.797
+1	0.472752	1	0	392.797
+1	0.472752	1	0	392.797
+0.999999	0.472752	1	0	392.797
+1	0.472753	1	0	392.797
+1	0.472752	1	0	392.797
+1	1	1	0	540.226
+1	1	1	0	540.226
+0.999999	1	1	0	540.226
+1	1	1	0	540.229
+1	0.999999	1	0	540.222
+1	1	1	0	540.226
+1	1	1	0	540.226
+0.999999	1	1	0	540.226
+1	1	1	0	540.229
+1	0.999999	1	0	540.222
+1	1	1	0	540.226
+1	1	1	0	540.226
+0.999999	1	1	0	540.226
+1	1	1	0	540.229
+1	0.999999	1	0	540.222
+1	0.883416	1	0	446.125
+1	0.883416	1	0	446.125
+0.999999	0.883416	1	0	446.125
+1	0.883417	1	0	446.125
+1	0.883415	1	0	446.125
+1	0.646	1	0	399.78
+1	0.646	1	0	399.78
+0.999999	0.646	1	0	399.78
+1	0.646001	1	0	399.78
+1	0.645999	1	0	399.78
+1	0.491665	1	0	393.008
+1	0.491665	1	0	393.008
+0.999999	0.491665	1	0	393.008
+1	0.491665	1	0	393.008
+1	0.491664	1	0	393.008
+1	0.476907	1	0	392.844
+1	0.476907	1	0	392.844
+0.999999	0.476907	1	0	392.844
+1	0.476908	1	0	392.844
+1	0.476907	1	0	392.844
+1	0.473378	1	0	392.805
+1	0.473378	1	0	392.805
+0.999999	0.473378	1	0	392.805
+1	0.473379	1	0	392.805
+1	0.473378	1	0	392.805
+1	0.472856	1	0	392.799
+1	0.472856	1	0	392.799
+0.999999	0.472856	1	0	392.799
+1	0.472857	1	0	392.799
+1	0.472856	1	0	392.799
+1	0.472787	1	0	392.798
+1	0.472787	1	0	392.797
+0.999999	0.472787	1	0	392.798
+1	0.472787	1	0	392.798
+1	0.472786	1	0	392.798
+1	0.472757	1	0	392.797
+1	0.472757	1	0	392.797
+0.999999	0.472757	1	0	392.797
+1	0.472758	1	0	392.797
+1	0.472757	1	0	392.797
+1	0.472757	1	0	392.797
+1	0.472752	1	0	392.797
diff --git a/uniformAlbedo 1 1 0.5 0.5.txt b/uniformAlbedo 1 1 0.5 0.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b50f60fd87dced42f9ce8e8787183bd19d286eb
--- /dev/null
+++ b/uniformAlbedo 1 1 0.5 0.5.txt	
@@ -0,0 +1,351 @@
+Roughness	Metallic	Light Distance	Light Intensity	Resiudal
+1	1	1	0	540.226
+1	1	1	0	540.226
+0.999999	1	1	0	540.226
+1	1	1	0	540.229
+1	0.999999	1	0	540.222
+1	1	1	0	540.226
+1	1	1	0	540.226
+1	1	1	0	540.226
+1	1	1	0	540.226
+0	0.962625	1	0	672.401
+1.49012e-08	0.962625	1	0	672.401
+-1.49012e-08	0.962625	1	0	672.401
+0	0.962626	1	0	672.401
+0	0.962624	1	0	672.401
+0	0.962625	1	0	1040.62
+0	0.962625	1	0	1040.62
+0	0.962625	1	0	672.401
+0	0.962625	1	0	672.401
+0	0.991958	1	0	672.401
+1.49012e-08	0.991958	1	0	672.401
+-1.49012e-08	0.991958	1	0	672.401
+0	0.991959	1	0	672.401
+0	0.991957	1	0	672.401
+0	0.991958	1	0	672.401
+0	0.991958	1	0	672.401
+0	0.991958	1	0	672.401
+0	0.991958	1	0	672.401
+0.925192	0.999406	1	0	530.889
+0.925193	0.999406	1	0	530.889
+0.925191	0.999406	1	0	530.889
+0.925192	0.999407	1	0	530.891
+0.925192	0.999405	1	0	530.886
+0.925192	0.999406	1	0	530.889
+0.925192	0.999406	1	0	530.889
+0.925192	0.999406	1	0	530.889
+0.925192	0.999406	1	0	530.889
+0.925192	0.999406	1	0	530.889
+0.925192	0.999406	1	0	530.889
+0.925193	0.999406	1	0	530.889
+0.925191	0.999406	1	0	530.889
+0.925192	0.999407	1	0	530.891
+0.925192	0.999405	1	0	530.886
+0.925192	0.999406	1	0	530.889
+0.925192	0.999406	1	0	530.889
+0.925192	0.999406	1	0	530.889
+0.925192	0.999406	1	0	530.889
+0	0.946656	1	0	672.401
+1.49012e-08	0.946656	1	0	672.401
+-1.49012e-08	0.946656	1	0	672.401
+0	0.946657	1	0	672.401
+0	0.946655	1	0	672.401
+0	0.946656	1	0	1040.62
+0	0.946656	1	0	1040.62
+0	0.946656	1	0	672.401
+0	0.946656	1	0	672.401
+0.493572	0.988445	1	0	655.864
+0.493573	0.988445	1	0	655.864
+0.493572	0.988445	1	0	655.865
+0.493572	0.988446	1	0	655.863
+0.493572	0.988444	1	0	655.865
+0.493572	0.988445	1	0	655.864
+0.493572	0.988445	1	0	655.865
+0.493572	0.988445	1	0	655.865
+0.493572	0.988445	1	0	655.864
+0.756656	0.995126	1	0	503.61
+0.756657	0.995126	1	0	503.61
+0.756655	0.995126	1	0	503.61
+0.756656	0.995127	1	0	503.612
+0.756656	0.995125	1	0	503.608
+0.756656	0.995126	1	0	503.61
+0.756656	0.995126	1	0	503.61
+0.756656	0.995126	1	0	503.61
+0.756656	0.995126	1	0	503.61
+0.756656	0.995126	1	0	503.61
+0.756656	0.995126	1	0	503.61
+0.756657	0.995126	1	0	503.61
+0.756655	0.995126	1	0	503.61
+0.756656	0.995127	1	0	503.612
+0.756656	0.995125	1	0	503.608
+0.756656	0.995126	1	0	503.61
+0.756656	0.995126	1	0	503.61
+0.756656	0.995126	1	0	503.61
+0.756656	0.995126	1	0	503.61
+1	0.930689	1	0	672.401
+1	0.930689	1	0	672.401
+0.999999	0.930689	1	0	672.401
+1	0.93069	1	0	672.401
+1	0.930688	1	0	672.401
+1	0.930689	1	0	51219.6
+1	0.930689	1	0	51219.6
+1	0.930689	1	0	672.401
+1	0.930689	1	0	672.401
+0.936146	0.983077	1	0	439.758
+0.936147	0.983077	1	0	439.757
+0.936145	0.983077	1	0	439.758
+0.936146	0.983078	1	0	439.759
+0.936146	0.983076	1	0	439.756
+0.936146	0.983077	1	0	439.758
+0.936146	0.983077	1	0	439.757
+0.936146	0.983077	1	0	439.758
+0.936146	0.983077	1	0	439.758
+0.936146	0.983077	1	0	439.758
+0.936146	0.983077	1	0	439.758
+0.936147	0.983077	1	0	439.757
+0.936145	0.983077	1	0	439.758
+0.936146	0.983078	1	0	439.759
+0.936146	0.983076	1	0	439.756
+0.936146	0.983077	1	0	439.758
+0.936146	0.983077	1	0	439.757
+0.936146	0.983077	1	0	439.758
+0.936146	0.983077	1	0	439.758
+1	0.909567	1	0	672.401
+1	0.909567	1	0	672.401
+0.999999	0.909567	1	0	672.401
+1	0.909568	1	0	672.401
+1	0.909567	1	0	672.401
+1	0.909567	1	0	51219.6
+1	0.909567	1	0	51219.6
+1	0.909567	1	0	672.401
+1	0.909567	1	0	672.401
+1	0.972597	1	0	486.056
+1	0.972597	1	0	486.056
+0.999999	0.972597	1	0	486.057
+1	0.972598	1	0	486.056
+1	0.972596	1	0	486.057
+1	0.972597	1	0	486.056
+1	0.972597	1	0	486.057
+1	0.972597	1	0	486.057
+1	0.972597	1	0	486.056
+0.9588	0.981209	1	0	432.025
+0.958801	0.981209	1	0	432.025
+0.958799	0.981209	1	0	432.025
+0.9588	0.98121	1	0	432.026
+0.9588	0.981208	1	0	432.024
+0.9588	0.981209	1	0	432.025
+0.9588	0.981209	1	0	432.025
+0.9588	0.981209	1	0	432.025
+0.9588	0.981209	1	0	432.025
+0.9588	0.981209	1	0	432.025
+0.9588	0.981209	1	0	432.025
+0.958801	0.981209	1	0	432.025
+0.958799	0.981209	1	0	432.025
+0.9588	0.98121	1	0	432.026
+0.9588	0.981208	1	0	432.024
+0.9588	0.981209	1	0	432.025
+0.9588	0.981209	1	0	432.025
+0.9588	0.981209	1	0	432.025
+0.9588	0.981209	1	0	432.025
+1	0.892044	1	0	672.401
+1	0.892044	1	0	672.401
+0.999999	0.892044	1	0	672.401
+1	0.892045	1	0	672.401
+1	0.892044	1	0	672.401
+1	0.892044	1	0	672.401
+1	0.892044	1	0	672.401
+1	0.892044	1	0	672.401
+1	0.892044	1	0	672.401
+1	0.96894	1	0	585.681
+1	0.96894	1	0	585.68
+0.999999	0.96894	1	0	585.682
+1	0.968941	1	0	585.678
+1	0.968939	1	0	585.683
+1	0.96894	1	0	585.68
+1	0.96894	1	0	585.681
+1	0.96894	1	0	585.681
+1	0.96894	1	0	585.681
+0.996279	0.975184	1	0	430.637
+0.99628	0.975184	1	0	430.637
+0.996278	0.975184	1	0	430.637
+0.996279	0.975185	1	0	430.637
+0.996279	0.975183	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.99628	0.975184	1	0	430.637
+0.996278	0.975184	1	0	430.637
+0.996279	0.975185	1	0	430.637
+0.996279	0.975183	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+1	0.496617	1	0	2310.93
+1	0.496617	1	0	2310.93
+0.999999	0.496617	1	0	2310.94
+1	0.496618	1	0	2310.93
+1	0.496617	1	0	2310.94
+1	0.496617	1	0	2310.93
+1	0.496617	1	0	2310.94
+1	0.496617	1	0	2310.94
+1	0.496617	1	0	2310.93
+1	0.970586	1	0	441.822
+1	0.970586	1	0	441.821
+0.999999	0.970586	1	0	441.823
+1	0.970587	1	0	441.822
+1	0.970585	1	0	441.822
+1	0.970586	1	0	441.822
+1	0.970586	1	0	441.822
+1	0.970586	1	0	441.822
+1	0.970586	1	0	441.822
+0.996496	0.974924	1	0	431.104
+0.996497	0.974924	1	0	431.103
+0.996495	0.974924	1	0	431.104
+0.996496	0.974925	1	0	431.104
+0.996496	0.974923	1	0	431.104
+0.996496	0.974924	1	0	431.104
+0.996496	0.974924	1	0	431.104
+0.996496	0.974924	1	0	431.104
+0.996496	0.974924	1	0	431.104
+0.996304	0.975154	1	0	430.69
+0.996305	0.975154	1	0	430.689
+0.996303	0.975154	1	0	430.69
+0.996304	0.975155	1	0	430.69
+0.996304	0.975153	1	0	430.689
+0.996304	0.975154	1	0	430.69
+0.996304	0.975154	1	0	430.69
+0.996304	0.975154	1	0	430.69
+0.996304	0.975154	1	0	430.69
+0.99628	0.975182	1	0	430.641
+0.996281	0.975182	1	0	430.641
+0.996279	0.975182	1	0	430.642
+0.99628	0.975183	1	0	430.641
+0.99628	0.975181	1	0	430.641
+0.99628	0.975182	1	0	430.641
+0.99628	0.975182	1	0	430.641
+0.99628	0.975182	1	0	430.641
+0.99628	0.975182	1	0	430.641
+0.996279	0.975184	1	0	430.638
+0.99628	0.975184	1	0	430.637
+0.996278	0.975184	1	0	430.638
+0.996279	0.975185	1	0	430.637
+0.996279	0.975183	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.638
+0.996279	0.975184	1	0	430.638
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.99628	0.975184	1	0	430.637
+0.996278	0.975184	1	0	430.638
+0.996279	0.975185	1	0	430.637
+0.996279	0.975183	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.99628	0.975184	1	0	430.637
+0.996278	0.975184	1	0	430.637
+0.996279	0.975185	1	0	430.637
+0.996279	0.975183	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.99628	0.975184	1	0	430.637
+0.996278	0.975184	1	0	430.637
+0.996279	0.975185	1	0	430.637
+0.996279	0.975183	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+1	0.496617	1	0	2310.93
+1	0.49675	1	0	2310.71
+1	0.49675	1	0	2310.7
+0.999999	0.49675	1	0	2310.71
+1	0.49675	1	0	2310.7
+1	0.496749	1	0	2310.71
+1	0.49675	1	0	2310.7
+1	0.49675	1	0	2310.71
+1	0.49675	1	0	2310.71
+1	0.49675	1	0	2310.7
+0.999975	0.970761	1	0	441.281
+0.999976	0.970761	1	0	441.281
+0.999974	0.970761	1	0	441.281
+0.999975	0.970761	1	0	441.281
+0.999975	0.97076	1	0	441.282
+0.999975	0.970761	1	0	441.281
+0.999975	0.970761	1	0	441.281
+0.999975	0.970761	1	0	441.281
+0.999975	0.970761	1	0	441.281
+0.996554	0.974855	1	0	431.234
+0.996555	0.974855	1	0	431.234
+0.996553	0.974855	1	0	431.234
+0.996554	0.974856	1	0	431.234
+0.996554	0.974854	1	0	431.234
+0.996554	0.974855	1	0	431.234
+0.996554	0.974855	1	0	431.234
+0.996554	0.974855	1	0	431.234
+0.996554	0.974855	1	0	431.234
+0.996315	0.975141	1	0	430.715
+0.996316	0.975141	1	0	430.714
+0.996314	0.975141	1	0	430.715
+0.996315	0.975142	1	0	430.715
+0.996315	0.97514	1	0	430.714
+0.996315	0.975141	1	0	430.714
+0.996315	0.975141	1	0	430.715
+0.996315	0.975141	1	0	430.715
+0.996315	0.975141	1	0	430.714
+0.996286	0.975176	1	0	430.653
+0.996287	0.975176	1	0	430.652
+0.996285	0.975176	1	0	430.653
+0.996286	0.975177	1	0	430.653
+0.996286	0.975175	1	0	430.653
+0.996286	0.975176	1	0	430.653
+0.996286	0.975176	1	0	430.653
+0.996286	0.975176	1	0	430.653
+0.996286	0.975176	1	0	430.653
+0.996281	0.975182	1	0	430.643
+0.996282	0.975182	1	0	430.642
+0.99628	0.975182	1	0	430.643
+0.996281	0.975183	1	0	430.643
+0.996281	0.975181	1	0	430.642
+0.996281	0.975182	1	0	430.642
+0.996281	0.975182	1	0	430.643
+0.996281	0.975182	1	0	430.643
+0.996281	0.975182	1	0	430.642
+0.996279	0.975184	1	0	430.638
+0.99628	0.975184	1	0	430.637
+0.996278	0.975184	1	0	430.638
+0.996279	0.975185	1	0	430.638
+0.996279	0.975183	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.638
+0.996279	0.975184	1	0	430.638
+0.996279	0.975184	1	0	430.638
+0.996279	0.975184	1	0	430.637
+0.99628	0.975184	1	0	430.637
+0.996278	0.975184	1	0	430.638
+0.996279	0.975185	1	0	430.637
+0.996279	0.975183	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.99628	0.975184	1	0	430.637
+0.996278	0.975184	1	0	430.637
+0.996279	0.975185	1	0	430.637
+0.996279	0.975183	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
+0.996279	0.975184	1	0	430.637
diff --git a/wood6 0.5 0.5 0.5 0.5.txt b/wood6 0.5 0.5 0.5 0.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8168828421157556ce9efc52e6b2faa6fc7ea098
--- /dev/null
+++ b/wood6 0.5 0.5 0.5 0.5.txt	
@@ -0,0 +1,243 @@
+Roughness	Metallic	Light Distance	Light Intensity	Resiudal
+0.5	0.5	1	0	9272.26
+0.5	0.5	1	0	9272.26
+0.499999	0.5	1	0	9272.26
+0.5	0.5	1	0	9272.26
+0.5	0.499999	1	0	9272.26
+0.5	0.5	1	0	9272.26
+0.5	0.5	1	0	9272.26
+0.5	0.5	1	0	9272.26
+0.5	0.5	1	0	9272.26
+1	0	1	0	12358.7
+1	0	1	0	12358.7
+0.999999	0	1	0	12358.7
+1	1.49012e-08	1	0	12358.7
+1	-1.49012e-08	1	0	12358.7
+1	0	1	0	23815
+1	0	1	0	23815
+1	0	1	0	12358.7
+1	0	1	0	12358.7
+0.63533	0.264891	1	0	7287.38
+0.63533	0.264891	1	0	7287.38
+0.635329	0.264891	1	0	7287.38
+0.63533	0.264891	1	0	7287.38
+0.63533	0.26489	1	0	7287.38
+0.63533	0.264891	1	0	7287.39
+0.63533	0.264891	1	0	7287.38
+0.63533	0.264891	1	0	7287.38
+0.63533	0.264891	1	0	7287.38
+0.63533	0.264891	1	0	7287.38
+0.63533	0.264891	1	0	7287.38
+0.63533	0.264891	1	0	7287.38
+0.635329	0.264891	1	0	7287.38
+0.63533	0.264891	1	0	7287.38
+0.63533	0.26489	1	0	7287.38
+0.63533	0.264891	1	0	7287.39
+0.63533	0.264891	1	0	7287.38
+0.63533	0.264891	1	0	7287.38
+0.63533	0.264891	1	0	7287.38
+1	0	1	0	2839.58
+1	0	1	0	2839.58
+0.999999	0	1	0	2839.58
+1	1.49012e-08	1	0	2839.58
+1	-1.49012e-08	1	0	2839.58
+1	0	1	0	2839.58
+1	0	1	0	2839.58
+1	0	1	0	2839.58
+1	0	1	0	2839.58
+1	0	1	0	2839.58
+1	0	1	0	2839.58
+1	0	1	0	2839.58
+0.999999	0	1	0	2839.58
+1	1.49012e-08	1	0	2839.58
+1	-1.49012e-08	1	0	2839.58
+1	0	1	0	2839.58
+1	0	1	0	2839.58
+1	0	1	0	2839.58
+1	0	1	0	2839.58
+0	0	1	0	11070.6
+1.49012e-08	0	1	0	11070.6
+-1.49012e-08	0	1	0	11070.6
+0	1.49012e-08	1	0	11070.6
+0	-1.49012e-08	1	0	11070.6
+0	0	1	0	11070.6
+0	0	1	0	11070.6
+0	0	1	0	11070.6
+0	0	1	0	11070.6
+0.914785	0	1	0	2881.54
+0.914786	0	1	0	2881.54
+0.914785	0	1	0	2881.54
+0.914785	1.49012e-08	1	0	2881.54
+0.914785	-1.49012e-08	1	0	2881.54
+0.914785	0	1	0	2881.54
+0.914785	0	1	0	2881.54
+0.914785	0	1	0	2881.54
+0.914785	0	1	0	2881.54
+0.974115	0	1	0	2829.83
+0.974116	0	1	0	2829.83
+0.974114	0	1	0	2829.83
+0.974115	1.49012e-08	1	0	2829.83
+0.974115	-1.49012e-08	1	0	2829.83
+0.974115	0	1	0	2829.83
+0.974115	0	1	0	2829.83
+0.974115	0	1	0	2829.83
+0.974115	0	1	0	2829.83
+0.974115	0	1	0	2829.83
+0.974115	0	1	0	2829.83
+0.974116	0	1	0	2829.83
+0.974114	0	1	0	2829.83
+0.974115	1.49012e-08	1	0	2829.83
+0.974115	-1.49012e-08	1	0	2829.83
+0.974115	0	1	0	2829.83
+0.974115	0	1	0	2829.83
+0.974115	0	1	0	2829.83
+0.974115	0	1	0	2829.83
+1	0	1	0	20858
+1	0	1	0	20858
+0.999999	0	1	0	20858
+1	1.49012e-08	1	0	20858
+1	-1.49012e-08	1	0	20858
+1	0	1	0	20858
+1	0	1	0	20858
+1	0	1	0	20858
+1	0	1	0	20858
+1	0	1	0	2808.9
+1	0	1	0	2808.9
+0.999999	0	1	0	2808.9
+1	1.49012e-08	1	0	2808.9
+1	-1.49012e-08	1	0	2808.9
+1	0	1	0	2808.91
+1	0	1	0	2808.9
+1	0	1	0	2808.9
+1	0	1	0	2808.91
+1	0	1	0	2808.9
+1	0	1	0	2808.9
+1	0	1	0	2808.9
+0.999999	0	1	0	2808.9
+1	1.49012e-08	1	0	2808.9
+1	-1.49012e-08	1	0	2808.9
+1	0	1	0	2808.91
+1	0	1	0	2808.9
+1	0	1	0	2808.9
+1	0	1	0	2808.91
+0	0	1	0	10428.9
+1.49012e-08	0	1	0	10428.9
+-1.49012e-08	0	1	0	10428.9
+0	1.49012e-08	1	0	10428.9
+0	-1.49012e-08	1	0	10428.9
+0	0	1	0	10428.9
+0	0	1	0	10428.9
+0	0	1	0	10428.9
+0	0	1	0	10428.9
+0.803853	0	1	0	3272.66
+0.803854	0	1	0	3272.66
+0.803853	0	1	0	3272.67
+0.803853	1.49012e-08	1	0	3272.66
+0.803853	-1.49012e-08	1	0	3272.66
+0.803853	0	1	0	3272.66
+0.803853	0	1	0	3272.66
+0.803853	0	1	0	3272.66
+0.803853	0	1	0	3272.66
+0.988769	0	1	0	2807.07
+0.98877	0	1	0	2807.07
+0.988768	0	1	0	2807.07
+0.988769	1.49012e-08	1	0	2807.07
+0.988769	-1.49012e-08	1	0	2807.07
+0.988769	0	1	0	2807.07
+0.988769	0	1	0	2807.07
+0.988769	0	1	0	2807.07
+0.988769	0	1	0	2807.07
+0.988769	0	1	0	2807.07
+0.988769	0	1	0	2807.07
+0.98877	0	1	0	2807.07
+0.988768	0	1	0	2807.07
+0.988769	1.49012e-08	1	0	2807.07
+0.988769	-1.49012e-08	1	0	2807.07
+0.988769	0	1	0	2807.07
+0.988769	0	1	0	2807.07
+0.988769	0	1	0	2807.07
+0.988769	0	1	0	2807.07
+1	0	1	0	14981.9
+1	0	1	0	14981.9
+0.999999	0	1	0	14981.9
+1	1.49012e-08	1	0	14981.9
+1	-1.49012e-08	1	0	14981.9
+1	0	1	0	14981.9
+1	0	1	0	14981.9
+1	0	1	0	14981.9
+1	0	1	0	14981.9
+1	0	1	0	2788.17
+1	0	1	0	2788.17
+0.999999	0	1	0	2788.17
+1	1.49012e-08	1	0	2788.17
+1	-1.49012e-08	1	0	2788.17
+1	0	1	0	2788.17
+1	0	1	0	2788.17
+1	0	1	0	2788.17
+1	0	1	0	2788.17
+1	0	1	0	2788.17
+1	0	1	0	2788.17
+1	0	1	0	2788.17
+0.999999	0	1	0	2788.17
+1	1.49012e-08	1	0	2788.17
+1	-1.49012e-08	1	0	2788.17
+1	0	1	0	2788.17
+1	0	1	0	2788.17
+1	0	1	0	2788.17
+1	0	1	0	2788.17
+0	0	1	0	10070.3
+1.49012e-08	0	1	0	10070.3
+-1.49012e-08	0	1	0	10070.3
+0	1.49012e-08	1	0	10070.3
+0	-1.49012e-08	1	0	10070.3
+0	0	1	0	10070.3
+0	0	1	0	10070.3
+0	0	1	0	10070.3
+0	0	1	0	10070.3
+0	0	1	0	11940.1
+1.49012e-08	0	1	0	11940.1
+-1.49012e-08	0	1	0	11940.1
+0	1.49012e-08	1	0	11940.1
+0	-1.49012e-08	1	0	11940.1
+0	0	1	0	11940.1
+0	0	1	0	11940.1
+0	0	1	0	11940.1
+0	0	1	0	11940.1
+0.998615	0	1	0	2788.22
+0.998616	0	1	0	2788.22
+0.998614	0	1	0	2788.22
+0.998615	1.49012e-08	1	0	2788.22
+0.998615	-1.49012e-08	1	0	2788.22
+0.998615	0	1	0	2788.22
+0.998615	0	1	0	2788.21
+0.998615	0	1	0	2788.22
+0.998615	0	1	0	2788.22
+0.99983	0	1	0	2788.17
+0.999831	0	1	0	2788.17
+0.999829	0	1	0	2788.17
+0.99983	1.49012e-08	1	0	2788.17
+0.99983	-1.49012e-08	1	0	2788.17
+0.99983	0	1	0	2788.17
+0.99983	0	1	0	2788.17
+0.99983	0	1	0	2788.17
+0.99983	0	1	0	2788.17
+0.999912	0	1	0	2788.17
+0.999913	0	1	0	2788.17
+0.999911	0	1	0	2788.17
+0.999912	1.49012e-08	1	0	2788.17
+0.999912	-1.49012e-08	1	0	2788.17
+0.999912	0	1	0	2788.17
+0.999912	0	1	0	2788.17
+0.999912	0	1	0	2788.17
+0.999912	0	1	0	2788.17
+0.999968	0	1	0	2788.17
+0.999969	0	1	0	2788.17
+0.999967	0	1	0	2788.17
+0.999968	1.49012e-08	1	0	2788.17
+0.999968	-1.49012e-08	1	0	2788.17
+0.999968	0	1	0	2788.17
+0.999968	0	1	0	2788.17
+0.999968	0	1	0	2788.17
+0.999968	0	1	0	2788.17
+0.999968	0	1	0	2788.17
+1	0	1	0	2788.17