SGVector and SGMatrix are automatically reference counted and memory-freed. Thus, no need for these two SG_FREE. The SG_UNREF was the only one needed ;)