Code now works: able to distort image and invert that process in Matlab using Brown model equations