fix debug output for non-string
fix a bug that process name  was not set
- give initial zero velocity
- use vel_3d for output
fix nan error when velocity is zero