Calculating speed for GM37 502 DC motor (with wheel). Arduino, L298M.