Fundamentals of the Steam Locomotive