Lateral Confinement Effects in the Electronic Properties of Double Barrier Structures