Effects of process and biomass parameters on pellet quality