radrate.cu: Radiative rates

Also fixed static memory issue in example