updated julian2datetime to also handle numpy.ndarrays correctly