Misceallenous fixes all over discovered in the first real test.
Add filter_variable (which was not present for unknown reasons).
Optimisation to replace Alloc nodes.
Make gpuarray actually usable.