improvements to odometry initialization