getting weird values with 5v mlx90614 sensor

I am getting very weird values from my 5v MLx90614 sensor is it something in the code or in the equation?

//#include "sd_library.h"

int temppin = 1, width, sensor;
String dataString = "";


void setup ()
{
  Serial.begin(9600);
  pinMode(temppin, INPUT);

  Serial.println("Initializing SD card..");
  pinMode(10, OUTPUT);

/*  if (!SD.begin(chipSelect)) {
    Serial.println("Card failed, or no presenst");
  }*/
  Serial.println("card initialized.");
}
void loop()
{
  width = pulseIn(temppin, 100);

  for (int digitalPin = 1; digitalPin < 12; digitalPin++) {
    sensor = digitalRead(digitalPin);
    dataString += String(sensor);
    if (digitalPin < 1) {
      dataString += ",";
    }
  }
  /*
  File datefile = SD.open("datalog.txt", FILE_WRITE);

  if (dataFile) {
    dataFile.println (dataString);
    dataFile.close();
  } else {
    Serial.println("error open datalog.txt");
  }
  */
}

here is the datasheet My sensor is a 5v mlx90614 ESF-AAA

  Serial.println("card initialized.");

Was it really?

The serial port is connected to pins 0 and 1. You are using pin 1 for something, although it isn't clear what.

Then, you are assuming that something else is connected to pin 1, in the for loop.

What pin(s) is/are the sensor connected to? What is the pulseIn() call about?