embedded odometry in software, and updated software.tex a bit