Tick conversion

Added tick conversion functions. Also did motor encoder test program.