Simulation in Textile Technology: Theory And Applications