Velocity and Acceleration Estimation by a Nonlinear Filter Based on Sliding Mode and Application to Control System