We are developing an app that interacts with a hardware system, and uses the phone & hardware system\'s accelerometer & gyro info to perform auto-leveling of a table-sur