Closes #30; cannot abstract out sqrt checks because changes both phylo and dist matrix