Broke up the translation section of MSC into two separate parts. Layer 1 performs x-translation and layer 2 performs y-translation. Now image rotation is performed in layer 3. MSC code has both backward and forward path implementation. The codes for all the three layers have been written in such a way that in backward path they perform inverse function while in forward path they perform regular function.