Electron transmission in layered materials with interface roughness