   }
 
   else if(random(100001) < 10){
-    sleep(30, 40);
+    sleep(30*60, 40*60);
   }
 
   laser.fire(1);

int getDeltaPosition(panTiltPos_t *pt, int funcChangeVal, int changeProb){
  int tempVal = getMarkovDirection(pt, changeProb);

  tempVal *=funcChangeVal;

  return tempVal;



}


void heartBeat(unsigned long mSeconds, int hbInterval){
  static unsigned long oldTime;
  if(mSeconds - oldTime > hbInterval){
    uint8_t ledPin = 13;
    pinMode(ledPin, OUTPUT);
    digitalWrite(ledPin, HIGH);
    delay(100);
    digitalWrite(ledPin, LOW);
    delay(100);
    digitalWrite(ledPin, HIGH);
    delay(100);
    digitalWrite(ledPin, LOW);
    oldTime = mSeconds;
  }
}

void get
