Lower work function of thermoelectric material by ordered arrays