inga: different gyro accumulation modes, and code cleanup