Added latex file for generating patterns.
How to make corrective perspective transform