Control-oriented Modeling and Repetitive Control in In-layer and Cross-layer Thermal Interactions in Selective Laser Sintering