Added an implementation of the triangle filtering option based on conditional independence testing