Measuring the rotational period of Mars and making accurate lunar charts for American