Fundamentals of machining and machine tools