Implemented SECTREE (closes #36)