Musculoskeletal State Estimation With Trajectory Optimization And Convolutional Neural Network