Add decel.py and jsontogcode.py

decel.py generates linear and exponential deceleration
jsontogcode.py is self-explaining