Commodity market leaves behind tough quarter