Physics And Rapid Forward Modeling Of Logging-While-Drilling Neutron-Gamma Density Measurements