Theory for cavity cooling of levitated nanoparticles via coherent scattering: Master equation approach | Synapse