Documentation extended. Output haplotypes option added.