Needs fixing but there are a lot of changes so here's a commit. SingleGather and SingleScatter are currently working properly but others need tweaks for new layout transformation generator