Numerous updates to arduino sketch

Automatic Sensor Data packet transmission, Self Preservation code
working (2 IRs and one ping), Minor tweaks to functions and structure.
PIN CHANGES, sorry.