why is graphite used for mining machinery