Optimization of process, quality and cost as well as clinical tests of the wearable miniaturized fall detection system for the elderly