The steps/mm settings just need to match the actual number of (micro)steps that will produce 1mm linear motion for that axis. $100/$101/$102 are the floating point values that set this. max velocities and accelerations have to be determined by trial and error in practice, start low, increase till it just misbehaves, then
back off 20% or so.