Filtering techniques using frequency analysis for inertial sensors in gait measurements