Quantifying distortions in soft lithography