Added custom algdep, and modified point recognition to use it.