Measure 3-D length using smart-phone's accelerometer
Your model may be misleading, as bias and noise (including non-linearity and quantization noise) get double integrated, thus error increases quadratically and without bound over time.