four point touchoff code

laser 4 point touch off, added theta derivation, json IOT comm,