Update coder.py

completely rewritten coder.py, speed km/h, one value each 0.25 seconds