got the gradients compiling, still WIP