Use bioinf-perl module for formatting numbers
Remove debugging code; fix minor errors