Applying information theory to efficient SLAM