Added new inputs and FPGA-based velocity measurement for new encoders