2D Geometric Transformation Example MATLAB Code