Appendix C Algorithm and Proof of Chap. 5 - Ju, Zhaojie; Ji, Xiaofei; Liu, Honghai; Chan, Chee Seng; Khoury, Mehdi (Human Motion Sensing and Recognition, 2017)