moved some variables over to GPU constant memory. added a kernel generator for wrappers so i can unroll the loops later. implmented limiter and it works.