A comparison of automatic fall detection by the cross-product and magnitude of tri-axial acceleration