Added linear acceleration using normal accelerometer

@tedschmidt Could you review and merge?