added functions gdist, kinship, format / improved Rd