Fundamentals of a Method for Evaluating Rail Net Capacities