Found errors in gradient. Lots of stuff. Dno.