Modeling of Deformations of Photolithographic Objects