Simulation of Ultrathin Solar Cells Beyond the Limits of the Semiclassical Bulk Picture