An improved noise reduction algorithm based on wavelet transformation for MEMS gyroscope