Implementing new strain energy functions and some minor changes