Implemented the translate layer of MSC

Currently implemented the translate layer of Map Seeking Circuits. Still
need to figure out how to implement gi and qi in this algorithmic
circuit.