cleanup for rna methods and updated gradients
updating materials and environment