Fixed type-hinting mistake in GraphNode.
Implemented transience for surjections and inverted surjections.
Performance optimizations on transients for Surjection and InvertedSurjection.