The enhancement of a flight simulator system with teaching and research applications