Fixes gh-275. Recording magnitude on 3 axis accelerometer

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>