Bayesian Nonparametric Methods For Dynamics Identification And Segmentation For Powered Prosthesis Control