Update tickDistance calculation
Update tickDistance calculation

Use longest contig rather than median contig length
Possible solution for #104

greatfireball/AliTV-perl-interface,AliTVTeam/AliTV-perl-interface