Lorenzo makes improvements to qualify on second row in Qatar