The fact that the Repetier moves appear to be correct suggest there's a problem accelerating/decelerating the Z axis. The Z numbers in your parameters seem conservative to reasonable for an i3 with M5 z-rods. Do you have EEPROM enabled? If so, maybe the EEPROM settings are more aggressive than what is in your configuration.h file.