added parameter nfields to bed2GR to be able to read different width bed files