Deutsch Algo initial Commit
adds gateX and gateH as well as v2c and m2c