Removed setting a unique_ptr to nullptr which could cause an error.
Minor performance improvement in getters for simplices.