updated examples to latest sundials api