Application of consumer-off-the-shelf (COTS) devices to human motion analysis