Development of a novel algorithm for human fall detection using wearable sensors