Enhanced tool cutting edge detection for ultra precision diamond machining applying a conventional setting system