Micro-machined gyroscope mathematical model and error analysis.