Terrain Classification Enhanced with Uncertainty for Space Exploration Robots from Proprioceptive Data