one stupid error fixed (gradient was 0.0), still not working