added function to calculate mjd
Merge branch 'devel'