Fix a bug with NAMESPACE
Revert back the JV fix. There's something else going here.
Fix a bug in nbeta gradient