added bed to gff and gtf conversion function
tidied up bed2gtf function