Update mot-encoder.cpp