Solutions of the Navier-Stokes Equations for Sub- and Supersonic Flows in Rarefied Gases