6 degree of freedom model for rocket flight