Accelerometer Nunchuck: from three values to one

Square root of x squared plus y squared plus z squared?