First off, your Default_Max_Feedrate for Z is way too high 4000 steps/rev , you have it at 10.
Try
#define DEFAULT_MAX_FEEDRATE { 200, 200, 2, 25 }
and
#define DEFAULT_MAX_ACCELERATION { 2000, 2000, 100, 10000 }
After changing these and uploading the new firmware settings, you must send the commands M502 followed by M500 to update the eeprom