Almost Perfect accelerometer code, took 10 years, a work of art, 10/10, has to add config and other stuff now