Added arduino analog in and accelerometer class with localization.