Set previous_nominal_speed to 0 if the next block is a zero move block so jerk can be calculated correctly
clean up some stuff
Merge pull request #310 from wolfmanjm/upstreamedge

Set previous_nominal_speed to 0 if the next block is a zero move block s...