CUDA based feature classification for tool tracking