added get_time function to calculate time for a given solar position