Fixed factor of two in gradient, learned that "this" is not "self", added timestep spinbox"