Analyser: create a proper shared pointer.
Analyser: create a proper shared pointer.

hsorby/libcellml,hsorby/libcellml,nickerso/libcellml,cellml/libcellml,hsorby/libcellml,cellml/libcellml,cellml/libcellml,hsorby/libcellml,cellml/libcellml,nickerso/libcellml,nickerso/libcellml,nickerso/libcellml