   dataFile.print(z);
   dataFile.println(",");
 
-
-  Serial.println();
-	dataFile.close();
-  delay(500);
-
-}
-
-float getHumidity(float degreesCelsius){
-  float supplyVolt = 5.0;
-
-  int HIH4030_Value = analogRead(HIH4030_Pin);
-  float voltage = HIH4030_Value/1023. * supplyVolt; // convert to voltage value
-
-  float sensorRH = 161.0 * voltage / supplyVolt - 25.8;
-  float trueRH = sensorRH / (1.0546 - 0.0026 * degreesCelsius); //temperature adjustment
-
-  return trueRH;
-}
-
-void configureSensor(void)
+  /*Odds and Ends*/
+  Serial.println(); //Print a line to show separate readings
+	dataFile.close(); //Close dataFile
+
+  delay(500); //Wait 0.5 Seconds before taking next readings.
+}
+
+
+void configureLumin(void)
 {
   // tsl.setGain(TSL2561_GAIN_1X);      /* No gain ... use in bright light to avoid sensor saturation */
   // tsl.setGain(TSL2561_GAIN_16X);     /* 16x gain ... use in low light to boost sensitivity */

 File dataFile;

 //UV
 int UVOUT = A0; //Output from the sensor
 int REF_3V3 = A2; //3.3V power on the Arduino board

 //Luminosity
 Adafruit_TSL2561_Unified tsl = Adafruit_TSL2561_Unified(TSL2561_ADDR_FLOAT, 12345);
 //Magneto
 #define address 0x1E //0011110b, I2C 7bit address of HMC5883
//Humidity
int HIH4030_Pin = A3;

/*End Deffinations*/


void setup()
{
  /*Serial Setup*/
	Serial.begin(9600); //Start Serial

  /*I2C Setup*/
  Wire.begin(); //Start I2C

	/*Barometer Setup*/
	pressure.begin(); //Start Baro


	/*RTC Setup*/
	rtc.begin(); //Start RTC

  /*Accel Setup*/
	accel.begin(); //Start Accelrometer
	accel.setRange(ADXL345_RANGE_16_G); //Set Accelrometer Range

  /*SDcard Setup*/
	SD.begin(4); //Start SD

  //Print Header
  dataFile = SD.open("datatest.csv", FILE_WRITE); //Open dataFile

  dataFile.println(","); //println is used to start a new row
  dataFile.print("Timestamp");
  dataFile.print(","); //Commas are used to declare a new cell in .CSV
  dataFile.print("External Temp F");
  dataFile.print(",");
  dataFile.print("Absolute Pressure(mB)");
