Comment fix.
Fixed bus associated with Extern_RefWavefunction::magnetic_moment
Added conversion of Ref<> to bool.