 
 
   panTilt.updateAngles();
-  shake();
+
+  if(markovState(30, 40) == 1){
+    shake();
+  }
 
   if(random(1001) < 12){
     delay(markovPause());

int getMarkovSpeed(int oldSpeed){
  int probability = random(101);
  int lowVal = 2;
  int midVal = 5;
  int hiVal = 10;

  if(oldSpeed == lowVal){
    if(probability < 20){

}

void shake(){
  int moveVal = 10;
  panTiltX.angle += moveVal;
  panTilt.updateAngles();
  delay(10);
