Inference Of Human Motion Using Low-Cost Sensors