In process measurement of tool flank wear