...the main class was missing! kd_DataAss

Also I found the error for the negative gradient:
it was in kd_departure.