It appears to me that the grades when laying track are incorrect by a factor of 3.28084. That number happens to be how many feet are in a meter. It appears they are taking the horizontal distance and dividing by 3.28084 and then dividing that by the difference in elevation between spline points...