Energy balance and heating mechanisms of the Martian Upper atmosphere with the NASA Ames MGCM.