Trajectory of human movement during sit to stand: a new modeling approach based on movement decomposition and multi-phase cost function.