added fxn tpl_families, altered tpl_get thanks to John B, closes #187, added John as author