Thanks for the input. The Atlas picked the shortest route between CSTM and KJT. Now TNA has been added as a "Passes-Thru" station, and the route is now correct with a distance of 186km.
Another thing that needs to be resolved is whether the train takes the loop through Mumbra or not, which would add another 5km to the distance.