Role of the Window Length for Myoelectric Pattern Recognition in Detecting User Intent of Motion