cleanup for rna methods and updated gradients