Found the bug, simply forgot to initialize some shared variables properly for the first iteration of RPROP.
Constant deformation coefficients now working, thisfixes the jittery optimization, but the results are still inexplicably bad. Should investigate further what's being learned exactly.