A matrix formulation to introduce the concept of effective thermoelectric tensors in idealized superlattices