A photoemission moments model using density functional and transfer matrix methods applied to coating layers on surfaces: Theory