Theory and practical design of steam engines .