Submodular Optimization for Keyframe Selection & Usage in SLAM