First, 45-degree rail wedges. these will allow easy change in direction and make things such as monorail cars for traversing large bases more of a thing.
Second, a "junction rail" block of some sort, basically placed at the end of a section of rail, and when two rail sections ending in...