A numerical model of gravity wave breaking and stress in the mesosphere