Switched back to not using relative coefficients.
Fixed some bugs and things, now it is working like I want it to.