A novel analytical algorithm for prediction of workpiece temperature in end milling