Solves crashes when giving integer MJDs
Minor corrections
Minor changes