Added processing
Updated accelerometer code