An analysis of modular patterns in healthy and post-stroke hemiparetic gait