Attitude and Position Estimation on the Mars Exploration Rovers