added saving and loading of variational parameters